[Newb] Stepping into cc1plus from gcc

Tom Tromey tromey@redhat.com
Tue Mar 23 12:27:00 GMT 2004


>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:

Alexandre> If you know the arguments to pass to cc1plus, yes, it does.

Alexandre> The point of debugx is to be able to run a `gcc -c -flags
Alexandre> ...' and get a debugger attached to cc1 or cc1plus, with
Alexandre> the right command line.

Cute.  I've long meant to add an option to gcc like "--debug jc1" that
would cause it to launch the appropriate sub-process with "gdb
--args".  Still haven't gotten around to it... but maybe there's no
need with your programs around.

Tom



More information about the Gcc mailing list