From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6711 invoked by alias); 24 Feb 2011 19:26:20 -0000 Received: (qmail 6687 invoked by uid 22791); 24 Feb 2011 19:26:19 -0000 X-SWARE-Spam-Status: No, hits=3.8 required=5.0 tests=AWL,BAYES_00,BOTNET,KAM_STOCKGEN,RDNS_DYNAMIC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from host1.dyn.jankratochvil.net (HELO host1.dyn.jankratochvil.net) (89.250.240.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Feb 2011 19:26:15 +0000 Received: from jkratoch by host1.dyn.jankratochvil.net with local (Exim 4.73) (envelope-from ) id 1PsgpA-0005y1-MT; Thu, 24 Feb 2011 20:26:04 +0100 Date: Thu, 24 Feb 2011 19:26:00 -0000 From: Jan Kratochvil To: Michael Snyder Cc: Tom Tromey , "gdb@sourceware.org" Subject: Re: question, re: gdb.base/label.exp Message-ID: <20110224192603.GA22762@host1.dyn.jankratochvil.net> References: <4D658D9B.80207@vmware.com> <4D66A1A8.2010503@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D66A1A8.2010503@vmware.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00138.txt.bz2 On Thu, 24 Feb 2011 19:21:28 +0100, Michael Snyder wrote: > <2><16e>: Abbrev Number: 8 (DW_TAG_label) > DW_AT_name : here > DW_AT_decl_file : 1 > DW_AT_decl_line : 16 ************************** ^^ here should be 9 > DW_AT_low_pc : 0x4004e0 > > I'm using gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50) symbol_found() uses just SYMBOL_LINE. The question is if we say this GCC is broken (and XFAIL it or move it to gdb.dwarf2/) or whether GDB should use SYMBOL_VALUE_ADDRESS. I am for the latter, DWARF talks for DW_TAG_label about DW_AT_low_pc and not about DW_AT_decl_line. Thanks, Jan