From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19028 invoked by alias); 7 Oct 2004 14:39:32 -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 19014 invoked from network); 7 Oct 2004 14:39:31 -0000 Received: from unknown (HELO mail.research.newtrade.nl) (194.151.80.102) by sourceware.org with SMTP; 7 Oct 2004 14:39:31 -0000 Received: from perso.free.fr (devwks07.research.newtrade.nl [192.168.20.137]) by mail.research.newtrade.nl (8.12.10/8.12.4) with ESMTP id i97EdFtI030014; Thu, 7 Oct 2004 16:39:16 +0200 Received: by perso.free.fr (Postfix, from userid 500) id 3C2D4216A00; Thu, 7 Oct 2004 16:39:16 +0200 (CEST) From: Duncan Sands To: Joel Brobecker Subject: Re: Meaning of "Builds libada directory" Date: Thu, 07 Oct 2004 14:55:00 -0000 User-Agent: KMail/1.6.2 Cc: Hilfinger@otisco.mckusick.com, gdb@sources.redhat.com References: <200410061940.i96JeCLF003487@tully.CS.Berkeley.EDU> <200410070849.24262.duncan.sands@math.u-psud.fr> <20041007142823.GF1282@gnat.com> In-Reply-To: <20041007142823.GF1282@gnat.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200410071639.14984.duncan.sands@math.u-psud.fr> X-SW-Source: 2004-10/txt/msg00213.txt.bz2 On Thursday 07 October 2004 16:28, Joel Brobecker wrote: > > > Hmm. Haven't seen this, but then I don't use that compiler. I > > > shall inquire. Just out of curiosity, if you stop somewhere in Ada > > > source, what language do you see? > > > > minimal: > > I think I know why. I am a bit in a rush this morning, so I'll > let you try the attached patch, see if it makes a difference. > The key here is that 3.15p uses stabs, while recent GCC versions > use dwarf2, where the language is set from the DW_LANG value, > rather than the source extension. > > 2004-10-07 Joel Brobecker > > * dwarf2read.c (set_cu_language): Set language to Ada for > DW_LANG_Ada83 and DW_LANG_Ada95. > > It is almost obvious, but I want to test it before I submit this > patch and I can't do it this morning. Do give it a try. It did the trick - thanks a lot! All the best, Duncan.