This is the mail archive of the gdb-prs@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]

[Bug c++/14760] gdb.cp/temargs.exp regression with FSF GCC HEAD


http://sourceware.org/bugzilla/show_bug.cgi?id=14760

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-10-24 15:33:51 UTC ---
The difference is in the DWARF for the class Base.

GCC master emits:

 <1><f1>: Abbrev Number: 15 (DW_TAG_structure_type)
    <f2>   DW_AT_name        : (indirect string, offset: 0x191): Base<long int,
47, (& a_global), &S::f>    
    <f6>   DW_AT_byte_size   : 1    
    <f7>   DW_AT_decl_file   : 1    
    <f8>   DW_AT_decl_line   : 30    
    <f9>   DW_AT_declaration : 1    
    <f9>   DW_AT_sibling     : <0x155>    

The DW_AT_declaration causes gdb to ignore it.
However there is no concrete definition for the type.

I tend to think this is a gcc regression.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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