This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: support for DWARF extensions used by GCC 4.7?
- From: Tom Tromey <tromey at redhat dot com>
- To: Nathan Ridge <zeratul976 at hotmail dot com>
- Cc: <gdb at sourceware dot org>
- Date: Wed, 09 Nov 2011 07:21:21 -0700
- Subject: Re: support for DWARF extensions used by GCC 4.7?
- References: <BLU162-W7C897470EA71E2FB1DBC296DE0@phx.gbl>
>>>>> "Nathan" == Nathan Ridge <zeratul976@hotmail.com> writes:
Nathan> "GCC now supports various new GNU extensions to the DWARF debugging
Nathan> information format, like entry value and call site information, typed
Nathan> DWARF stack or a more compact macro representation. Support for these
Nathan> extensions will come in GDB 7.4. They can be disabled through the
Nathan> -gstrict-dwarf command-line option."
Nathan> Has this support been added to GDB trunk?
Yes.
Nathan> I ask because I am trying to debug a program built with GCC trunk,
Nathan> with GDB trunk, and I am experiencing all sorts of weird behaviour
Nathan> (breakpoints being ignored, no line number given when a breakpoint
Nathan> is reached, inability to step into functions) that is usually
Nathan> indicative of the generated debug info format and the format expected
Nathan> by the debugger not being in sync.
Nathan> On the other hand, adding -gstrict-dwarf when compiling does not
Nathan> help, so it may be a different issue...
Yeah, probably so. If you have reasonably easy ways to reproduce the
bugs, we're interested -- file in bugzilla.
Tom