>>>>> "Manuel" == Manuel López-Ibáñez <lopeziba...@gmail.com> writes:

Manuel> Actually, I wonder how you (Richard) and other GCC hackers work with
Manuel> and debug GCC, because it is a real pain in the ass.

Manuel> * All the TREE_ macros don't work.

Manuel> * __extension__ prevents GDB from evaluating many things.

See that other thread...

When I was debugging gcc regularly I added a bunch of "macro define"s to
.gdbinit, and built with -g3.  This fixed the macro problem and the
__extension__ problem.

Manuel> * Hitting auto-completion in GDB means staring at the window for 5-10
Manuel> minutes until it decides to stop listing stuff.

Report completion bugs to gdb.  There's only so much gdb can do here.
But maybe we could have some mode to be more selective about what to
complete.

Tom

Reply via email to