From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15552 invoked by alias); 29 Sep 2004 19:53:01 -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 15545 invoked from network); 29 Sep 2004 19:53:00 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 29 Sep 2004 19:53:00 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i8TJr0Fh021711 for ; Wed, 29 Sep 2004 15:53:00 -0400 Received: from zenia.home.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i8TJqwr30584; Wed, 29 Sep 2004 15:52:59 -0400 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa/dwarf] Support for attributes pointing to a different CU References: <20040923045723.GA11871@nevyn.them.org> <20040924003412.GB10500@nevyn.them.org> From: Jim Blandy Date: Wed, 29 Sep 2004 19:53:00 -0000 In-Reply-To: <20040924003412.GB10500@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-09/txt/msg00480.txt.bz2 > @@ -4610,6 +4821,9 @@ read_subrange_type (struct die_info *die > low = 1; > } > > + /* FIXME: For variable sized arrays either of these could be > + a variable rather than a constant value. We'll allow it, > + but we don't know how to handle it. */ > attr = dwarf2_attr (die, DW_AT_lower_bound, cu); > if (attr) > low = dwarf2_get_attr_constant_value (attr, 0); This should be committed separately.