This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: question, re: gdb.base/label.exp
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb\ at sourceware dot org" <gdb at sourceware dot org>
- Date: Thu, 24 Feb 2011 07:40:15 -0700
- Subject: Re: question, re: gdb.base/label.exp
- References: <4D658D9B.80207@vmware.com>
>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> 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><b7>: Abbrev Number: 8 (DW_TAG_label)
<b8> DW_AT_name : (indirect string, offset: 0xc4): there
<bc> DW_AT_decl_file : 1
<bd> DW_AT_decl_line : 13
<be> DW_AT_low_pc : 0x804840c
I think the important parts are that (1) it exists and (2) it has a
DW_AT_low_pc.
Tom