From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20009 invoked by alias); 25 Dec 2009 09:40:31 -0000 Received: (qmail 19997 invoked by uid 22791); 25 Dec 2009 09:40:30 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS 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; Fri, 25 Dec 2009 09:40:26 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBP9dlHG023559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 25 Dec 2009 04:39:47 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBP9diC0026617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Dec 2009 04:39:47 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id nBP9diFd025799; Fri, 25 Dec 2009 10:39:44 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id nBP9dhMd025796; Fri, 25 Dec 2009 10:39:43 +0100 Date: Fri, 25 Dec 2009 09:40: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: <20091225093943.GA25252@host0.dyn.jankratochvil.net> References: <20091224180657.GV5942@adacore.com> <20091224193948.GA7936@host0.dyn.jankratochvil.net> <20091225040646.GY2788@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091225040646.GY2788@adacore.com> User-Agent: Mutt/1.5.20 (2009-08-17) 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: 2009-12/txt/msg00393.txt.bz2 On Fri, 25 Dec 2009 05:06:46 +0100, Joel Brobecker wrote: > Or arrays, where you need to access a parallel ___XA type. Etc. -- Since there is no way for the debugger to obtain the index subtypes -- for an array type, we produce a type that has the name of the -- array type followed by "___XA" and is a record whose field names -- are the names of the types for the bounds. 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. > 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. Thanks, Jan