From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23621 invoked by alias); 16 Apr 2004 12:49:36 -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 23611 invoked from network); 16 Apr 2004 12:49:36 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 16 Apr 2004 12:49:36 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i3GCnZJW007124 for ; Fri, 16 Apr 2004 08:49:35 -0400 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i3GCnZj06896; Fri, 16 Apr 2004 08:49:35 -0400 Received: from miranda.boston.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i3GCnZl21158; Fri, 16 Apr 2004 08:49:35 -0400 Received: by miranda.boston.redhat.com (Postfix, from userid 2638) id AD704247B2; Fri, 16 Apr 2004 08:49:16 -0400 (EDT) To: Jim Blandy Cc: gdb-patches@redhat.com Subject: Re: DW_AT_specification: long ago GDB change From: Jason Merrill In-Reply-To: (Jim Blandy's message of "15 Apr 2004 17:19:17 -0500") References: Date: Fri, 16 Apr 2004 12:49:00 -0000 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-04/txt/msg00348.txt.bz2 On 15 Apr 2004 17:19:17 -0500, Jim Blandy wrote: > Here are the attributes I see that we shouldn't search for in dies > referenced by DW_AT_specification, but which are reasonable to look > for in dies referred to by DW_AT_abstract_origin: > > - DW_AT_declaration > - DW_AT_decl_column > - DW_AT_decl_file > - DW_AT_decl_line I disagree about the other three; if the definition has different source coordinates, it will have the attributes. If it doesn't, there's no reason to emit them again, and we should look them up in the declaration. Jason