This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Ada testsuite failures
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb at sourceware dot org
- Date: Tue, 2 Jan 2007 09:42:05 -0500
- Subject: Re: Ada testsuite failures
- References: <20061231194604.GA23919@nevyn.them.org> <20070102073827.GB3434@adacore.com>
On Tue, Jan 02, 2007 at 11:38:27AM +0400, Joel Brobecker wrote:
> I wouldn't be surprised. Recents versions of GCC are much better at
> not emitting debugging info for unused entity. This has caused us a lot
> of trouble when moving to GCC 4.1 for instance, because GNAT generates
> of lot of entities that appear unused from the compiler point of view,
> but are necessary for the debugger to work properly. We're getting back
> to the same project of getting rid of all these encoding in favor of
> standard DWARF. This is actually a very active project that we're
> working on right now, so hopefully the situation won't be as bad soon.
The unused type purging does sound like a likely culprit for these,
yeah. Just adding -fno-eliminate-unused-debug-types doesn't fix it,
but it's probably related.
> I can ask that the local patches we maintain in our tree be submitted
> for inclusion if you think they'd be accepted. Our opinion was that they
> would probably be rejected as a step backward.
Well, I'd like to see them, anyway.
--
Daniel Jacobowitz
CodeSourcery