From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13978 invoked by alias); 4 Dec 2003 16:51:48 -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 13971 invoked from network); 4 Dec 2003 16:51:47 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 4 Dec 2003 16:51:47 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 21C861A42DB; Thu, 4 Dec 2003 11:51:47 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16335.26147.29714.759783@localhost.redhat.com> Date: Thu, 04 Dec 2003 16:51:00 -0000 To: Andreas Schwab Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Handle DW_TAG_subrange_type In-Reply-To: References: X-SW-Source: 2003-12/txt/msg00113.txt.bz2 Andreas Schwab writes: > When trying to debug Ada code you often get a DW_TAG_subrange_type, which > gdb can't handle yet. > > Andreas. > > 2003-11-22 Andreas Schwab > > * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint): > New function. > (read_subrange_type): New function. > (process_die): Handle DW_TAG_subrange_type. > (read_type_die): Likewise. > OK. Reading the Dwarf2 spec, there is a lot more that could be apearing in the debug info for a subrange type, I guess we'll improve on this as we encounter other unhandled cases. Can you post an example of the debug info you see for Ada in this case, just for the record? elena