From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18213 invoked by alias); 24 Nov 2003 12:16:14 -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 18205 invoked from network); 24 Nov 2003 12:16:13 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 24 Nov 2003 12:16:13 -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 6BEBD183C66C; Mon, 24 Nov 2003 13:16:12 +0100 (CET) Received: by sykes.suse.de (Postfix, from userid 597) id 3968613561; Mon, 24 Nov 2003 13:16:11 +0100 (CET) To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Handle DW_TAG_subrange_type References: <20031124095056.GI857@gnat.com> From: Andreas Schwab X-Yow: With this weapon I can expose fictional characters and bring about sweeping reforms!! Date: Mon, 24 Nov 2003 12:16:00 -0000 In-Reply-To: <20031124095056.GI857@gnat.com> (Joel Brobecker's message of "Mon, 24 Nov 2003 01:50:56 -0800") 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-11/txt/msg00516.txt.bz2 Joel Brobecker writes: >> When trying to debug Ada code you often get a DW_TAG_subrange_type, which >> gdb can't handle yet. > > Hmmm, I don't remember having submitted the patch to emit these subrange > types. Maybe somebody else managed to add this capability already? > Do you confirm these types are emitted for modular types (for instance > "type Mod_Type is mod 4")? See dwarf2out.c:is_ada_subrange_type. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."