From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18318 invoked by alias); 24 Feb 2011 18:21:34 -0000 Received: (qmail 18309 invoked by uid 22791); 24 Feb 2011 18:21:34 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Feb 2011 18:21:30 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 07E8B29015; Thu, 24 Feb 2011 10:21:29 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id F289CCD9CD; Thu, 24 Feb 2011 10:21:28 -0800 (PST) Message-ID: <4D66A1A8.2010503@vmware.com> Date: Thu, 24 Feb 2011 18:21:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: Tom Tromey CC: "gdb@sourceware.org" Subject: Re: question, re: gdb.base/label.exp References: <4D658D9B.80207@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00136.txt.bz2 Tom Tromey wrote: >>>>>> "Michael" == Michael Snyder writes: > > Michael> Tom, does this test have a dependency on the compiler version? > Michael> It's failing on my RHEL5 system with cvs/head gdb. > > It might, but I am not certain. I looked through the gdb-patches > archives but my original mail didn't say anything; nor did the PR. > > You can check pretty easily with `readelf -wi' on the `labels' > executable that is made by the test suite. Search the output for the > `there' DIE. I get: > > <2>: Abbrev Number: 8 (DW_TAG_label) > DW_AT_name : (indirect string, offset: 0xc4): there > DW_AT_decl_file : 1 > DW_AT_decl_line : 13 > DW_AT_low_pc : 0x804840c > > I think the important parts are that (1) it exists and (2) it has a > DW_AT_low_pc. I see this: <2><15d>: Abbrev Number: 8 (DW_TAG_label) DW_AT_name : there DW_AT_decl_file : 1 DW_AT_decl_line : 13 DW_AT_low_pc : 0x4004f1 <2><16e>: Abbrev Number: 8 (DW_TAG_label) DW_AT_name : here DW_AT_decl_file : 1 DW_AT_decl_line : 16 DW_AT_low_pc : 0x4004e0 I'm using gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)