This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Query regarding gcc debugging
- From: Ian Lance Taylor <iant at google dot com>
- To: paladin tripathi <paladin dot tripathi at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 27 Jul 2010 02:55:09 -0700
- Subject: Re: Query regarding gcc debugging
- References: <AANLkTi=zgAvSWEMmDcP93N5JvkibvK6ZD8RZUGOzPa2-@mail.gmail.com> <AANLkTi=Yu3rQyU7sVCvmTvujOdjDD4YXXx9miNW6B39s@mail.gmail.com>
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