From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5471 invoked by alias); 4 Dec 2003 17:29:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5464 invoked from network); 4 Dec 2003 17:29:17 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 4 Dec 2003 17:29:17 -0000 Received: from Hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 6CC40189EC03; Thu, 4 Dec 2003 18:28:04 +0100 (CET) Received: by sykes.suse.de (Postfix, from userid 597) id F3187132D65B2; Thu, 4 Dec 2003 18:28:03 +0100 (CET) To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Handle DW_TAG_subrange_type References: <16335.26147.29714.759783@localhost.redhat.com> From: Andreas Schwab X-Yow: HAIR TONICS, please!! Date: Thu, 04 Dec 2003 17:29:00 -0000 In-Reply-To: <16335.26147.29714.759783@localhost.redhat.com> (Elena Zannoni's message of "Thu, 4 Dec 2003 11:51:47 -0500") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-12/txt/msg00115.txt.bz2 Elena Zannoni writes: > Can you post an example of the debug info you see for Ada in this > case, just for the record? These are a few examples extracted from 'readelf -w gnatbind': <2><4b3>: Abbrev Number: 13 (DW_TAG_subrange_type) DW_AT_type : <4ba> DW_AT_upper_bound : 41 <1><4d11>: Abbrev Number: 8 (DW_TAG_subrange_type) DW_AT_name : (indirect string, offset: 0x34ba): ada__exceptions__code_loc___XDLU_0__18446744073709551615 DW_AT_lower_bound : 0 DW_AT_type : <4d0a> <2><4e53>: Abbrev Number: 13 (DW_TAG_subrange_type) DW_AT_type : <4df2> DW_AT_lower_bound : 1 DW_AT_upper_bound : 50 <2><54ca>: Abbrev Number: 22 (DW_TAG_variable) DW_AT_artificial : 1 DW_AT_type : <5339> DW_AT_location : 24 byte block: 92 29 0 92 25 0 31 1c 2d 28 6 0 92 29 0 2f 5 0 92 25 0 31 1c 96 (DW_OP_bregx: 41 0; DW_OP_bregx: 37 0; DW_OP_lit1; DW_OP_minus; DW_OP_lt; DW_OP_bra: 6; DW_OP_bregx: 41 0; DW_OP_skip: 5; DW_OP_bregx: 37 0; DW_OP_lit1; DW_OP_minus; DW_OP_nop) <2><55b5>: Abbrev Number: 33 (DW_TAG_subrange_type) DW_AT_type : <4df2> DW_AT_upper_bound : <54ca> Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."