From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32680 invoked by alias); 13 Oct 2004 14:59:29 -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 32558 invoked from network); 13 Oct 2004 14:59:28 -0000 Received: from unknown (HELO postfix3-1.free.fr) (213.228.0.44) by sourceware.org with SMTP; 13 Oct 2004 14:59:28 -0000 Received: from pbaldrick.hd.free.fr (massena-4-82-67-197-146.fbx.proxad.net [82.67.197.146]) by postfix3-1.free.fr (Postfix) with ESMTP id 21C0817350C; Wed, 13 Oct 2004 16:59:26 +0200 (CEST) Received: by pbaldrick.hd.free.fr (Postfix, from userid 500) id 3382F1524CE; Wed, 13 Oct 2004 16:59:26 +0200 (CEST) From: Duncan Sands To: Joel Brobecker Subject: Re: Meaning of "Builds libada directory" Date: Wed, 13 Oct 2004 20:26: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: <200410131659.25122.duncan.sands@math.u-psud.fr> X-SW-Source: 2004-10/txt/msg00307.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. Hi Joel, I see that this patch didn't go in yet. Was there something wrong with it? It seems to work fine here. All the best, Duncan.