This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question, re: gdb.base/label.exp


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]