This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: preprocessor support?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Koning <pkoning at equallogic dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 28 May 2004 15:29:45 -0400
- Subject: Re: preprocessor support?
- References: <16567.37347.995508.204649@gargle.gargle.HOWL>
On Fri, May 28, 2004 at 03:24:19PM -0400, Paul Koning wrote:
> These days GCC will output dwarf2 debug sections listing preprocessor
> symbol definitions, but gdb 6.1 doesn't seem to look at that (at least
> not for mips-netbsd).
>
> Is that not implemented yet? Is it in some targets but not this one
> (and if so, any pointers to places I might look to teach this target a
> new trick)?
It should work everywhere, so you'll have to dig at it harder. I'm not
sure that it's tested; there's at least one test in the testsuite but I
don't see it going out of its way to pass -g3, so the binary won't have
macro information.
--
Daniel Jacobowitz