From: Daniel Jacobowitz <drow@mvista.com>
To: gdb@sources.redhat.com
Subject: Re: GDB 5.2 vs. Ada (and probably other unknown languages)
Date: Thu, 04 Apr 2002 21:27:00 -0000 [thread overview]
Message-ID: <20020405002730.A28037@nevyn.them.org> (raw)
In-Reply-To: <87hemqsoy8.fsf@deneb.enyo.de>
On Fri, Apr 05, 2002 at 07:18:39AM +0200, Florian Weimer wrote:
> 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.
That's because stabs doesn't have particularly unique language markers,
I'd imagine. Most places in GDB default to C, but DWARF2 trusts the
object file.
Perhaps if DWARF2 defaults the language to C instead of unknown...
>
> > 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.
>
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-04-05 5:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-31 2:46 Florian Weimer
2002-04-03 8:47 ` Andrew Cagney
2002-04-04 21:18 ` Florian Weimer
2002-04-04 21:27 ` Daniel Jacobowitz [this message]
2002-04-11 14:17 ` Michael Snyder
2002-04-11 14:28 ` Per Bothner
2002-04-21 10:50 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020405002730.A28037@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox