From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19825 invoked by alias); 3 Nov 2010 19:25:07 -0000 Received: (qmail 19813 invoked by uid 22791); 3 Nov 2010 19:25:06 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_C,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Nov 2010 19:25:02 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oA3JOlkM027272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Nov 2010 15:24:47 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oA3JOgSY017481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Nov 2010 15:24:46 -0400 Received: from host0.dyn.jankratochvil.net (localhost.localdomain [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oA3JOcTZ009316; Wed, 3 Nov 2010 20:24:40 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oA3JOZpt009315; Wed, 3 Nov 2010 09:24:35 -1000 Date: Wed, 03 Nov 2010 19:25:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA/DWARF] Add DW_AT_GNAT_descriptive_type support Message-ID: <20101103192435.GA9182@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100112055258.GJ2007@adacore.com> <20091225093943.GA25252@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00072.txt.bz2 On Thu, 24 Dec 2009 23:39:43 -1000, Jan Kratochvil wrote: > There is DW_TAG_array_type(DW_TAG_subrange_type->DW_AT_type) for this purpose > IMHO. But yes, you have said it is possible to do it the DWARF way. > > > On Fri, 25 Dec 2009 05:06:46 +0100, Joel Brobecker wrote: > > But this effort seems to be always stalled in favor of other, more urgent > > ones. It's an effort that is actually dear to me, since I very much dislike > > this encoding. > > OK, np, fine with me, fully understood. I just missed some note about the > reasons for this patch. On Mon, 11 Jan 2010 19:52:58 -1000, Joel Brobecker wrote: > This will be adjusted later on, when support is added to GCC. The regression today and some recent talk suggested me to revive this thread. People developing non-Ada GDB code sometimes accidentally cause Ada regressions but the current Ada debug info (at least as encoded in DWARF) is unreadable for me, despite I tried. Is there some Ada-specific `readelf -wi'-like tool to be able to read it? And why not to implement whole Ada properly in DWARF, with few extensions proposed at when/if needed? As AdaCore supplies both the compiler and the debugger I see no need to be bound by STABS you noted before. As Ada regressions are AFAIK not acceptable for FSF GDB check-ins there should be a way to make them troubleshootable by non-Ada developers. Thanks, Jan