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 symtab/15028] regressions with dwz -m


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

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2013-01-28 19:40:11 UTC ---
The completion.exp problem is a mismatch between what dwz
produces and what gdb expects.

dwz makes a DW_TAG_partial_unit holding various types from
break1.c; "some_enum" is there.  This is stored in the .dwz file.
However, nothing imports this unit.  Instead the specific enum
type DIE is referenced from the main file:

 <1><44a>: Abbrev Number: 25 (DW_TAG_variable)
    <44b>   DW_AT_name        : (alt indirect string, offset: 0x219)    
    <44f>   DW_AT_decl_file   : 1    
    <450>   DW_AT_decl_line   : 34    
    <451>   DW_AT_type        : <alt 0x27b>    
    <455>   DW_AT_external    : 1    
    <455>   DW_AT_location    : 9 byte block: 3 c4 f 60 0 0 0 0 0    
(DW_OP_addr: 600fc4)

This approach causes gdb not to make a symbol for the enum.

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