This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/15028] regressions with dwz -m
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 28 Jan 2013 19:40:11 +0000
- Subject: [Bug symtab/15028] regressions with dwz -m
- Auto-submitted: auto-generated
- References: <bug-15028-4717@http.sourceware.org/bugzilla/>
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.