From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5692 invoked by alias); 5 Apr 2002 05:27:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5685 invoked from network); 5 Apr 2002 05:27:22 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 5 Apr 2002 05:27:22 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 16tMG2-0007LW-00 for ; Fri, 05 Apr 2002 00:27:30 -0500 Date: Thu, 04 Apr 2002 21:27:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: GDB 5.2 vs. Ada (and probably other unknown languages) Message-ID: <20020405002730.A28037@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <873cyhaubc.fsf@deneb.enyo.de> <3CAB3231.6010801@cygnus.com> <87hemqsoy8.fsf@deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87hemqsoy8.fsf@deneb.enyo.de> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-04/txt/msg00065.txt.bz2 On Fri, Apr 05, 2002 at 07:18:39AM +0200, Florian Weimer wrote: > Andrew Cagney 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