GDB 5.2 vs. Ada (and probably other unknown languages)

Florian Weimer fw@deneb.enyo.de
Thu Apr 4 21:18:00 GMT 2002


Andrew Cagney <ac131313@cygnus.com> writes:

>> Is there a workaround?  Even if full Ada support is not available,
>> getting backtraces would be helpful in some cases.
>
> Definitly sounds like a new (and unknown) regression :-(
> Can you create a bug report to track this
> (http://sources.redhat.com/gdb/bugs/).

Okay.

> For a workaround, what happens if you enter ``set language c''?

The problem persits.  It seems to be related to DWARF2.  If I compile
using "-gstabs", GDB 5.1.1 works fine.

> There is also a source code dropping of ACT's Ada support in:
> ftp://sources.redhat.com/pub/gdb/contrib/gnat/ you may find the
> relevant change in there.

Aidan Skinner's patch based on this appears to help, too.



More information about the Gdb mailing list