This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debugging gcc/cc1



I've tried using the output provided by "gcc -v -save-temps ..." and then
invoke cc1 from inside gdb, but thats not immediately working, and its
a pain to have to copy and paste huge chunks of text everytime I want to
trace my new changes.


You can do it like that or use the scripts here http://www.cs.auckland.ac.nz/~sgov008/code/gcc.htm. They were written by Alexandre Oliva.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]