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

             Bug #: 15152
           Summary: readelf and objdump don't print strings from .dwz file
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sourceware.org
        ReportedBy: tro...@redhat.com
    Classification: Unclassified


If you process an executable with dwz, it may rewrite
the DWARF to reference strings in the new .dwz file.
Neither readelf nor objdump will actually show the content
of these strings.  For example:

objdump --dwarf=info ./gdb.cp/anon-struct
[...]
 <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
    <c>   DW_AT_producer    : (alt indirect string, offset: 0xb9)       
    <10>   DW_AT_language    : 4        (C++)
    <11>   DW_AT_name        : (alt indirect string, offset: 0x44)      
    <15>   DW_AT_comp_dir    : (alt indirect string, offset: 0x85)      

Showing the strings would be very helpful.

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to