bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/27387] [readelf] Support -ggdb3 -gsplit-dwarf output


From: nickc at redhat dot com
Subject: [Bug binutils/27387] [readelf] Support -ggdb3 -gsplit-dwarf output
Date: Fri, 05 Mar 2021 13:00:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27387

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #19 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Tom de Vries from comment #17)

> OK, so the latest comment there AFAIU states that this will be fixed for
> dwarf 5, but for dwarf 4 consumers should support reading the uleb128
> instead (for a .debug_macro.dwo section, not for a .debug_macro section).

Ok done.  With this patch applied the .debug_macro.dwo sections in the
hello.dwo file are correctly decoded:

  % readelf -wm -P --wide a.out
  [....]
  Contents of the .debug_macro.dwo section (loaded from /home/vries/hello.dwo):

  Offset:                      0x0
  Version:                     4
  Offset size:                 4

 DW_MACRO_define_strp - lineno : 139 macro : tector-strong -funwind-tables
-fno-stack-protector -ftls-model=initial-exec -fPIE
 DW_MACRO_define_strp - lineno : 140 macro : rpmbuild/BUILD/glibc-2.26/csu
 DW_MACRO_define_strp - lineno : 141 macro : es -fmerge-all-constants
-fmessage-length=0 -frounding-math -fstack-clash-protection
-fstack-protector-strong -funwind-tables -fno-stack-protector
-ftls-model=initial-exec -fPIE
 DW_MACRO_define_strp - lineno : 488 macro : nsigned int
 DW_MACRO_define_strp - lineno : 528 macro :  -ftls-model=initial-exec -fPIE

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]