This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Newb] Stepping into cc1plus from gcc
>>>>> "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