Query regarding gcc debugging

Ian Lance Taylor iant@google.com
Tue Jul 27 15:57:00 GMT 2010


paladin tripathi <paladin.tripathi@gmail.com> writes:

> I want to debug gcc using gdb for that i am using the following command line
> "gdb -args /paladin/install/bin/gcc  enum.c"
>
> but i am not getting only few gcc function symbol.
>
> i have compiled gcc 4.4  with default configuration.
>
> can some one explain the gcc configuration so that i can debug using gdb.
> I want to access all gcc symbol.

It looks like you are debugging the driver program, rather than the
compiler proper.

http://gcc.gnu.org/wiki/DebuggingGCC

Ian



More information about the Gcc-help mailing list