https://sourceware.org/bugzilla/show_bug.cgi?id=27387
Bug ID: 27387
Summary: [readelf] Support -ggdb3 -gsplit-dwarf output
Product: binutils
Version: 2.37 (HEAD)
Status: NEW
Severity: enhancement
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
These both are handled without trouble:
...
$ gcc hello.c -ggdb3
$ ~/binutils/build/binutils/readelf -w a.out > READELF
$ gcc hello.c -gsplit-dwarf
$ ~/binutils/build/binutils/readelf -w a.out > READELF
...
But both combined:
...
$ gcc hello.c -ggdb3 -gsplit-dwarf
$ readelf -w a.out > READELF
readelf: Error: Only GNU extension to DWARF 4 or 5 of .debug_macro.dwo is
currently supported.
readelf: Error: Unknown macro opcode d4 seen
readelf: Error: Unknown macro opcode a1 seen
readelf: Error: /home/vries/binutils/src/binutils/dwarf.c:6028: end of data
encountered whilst reading LEB
readelf: Error: DW_MACRO_start_file used, but no .debug_line offset provided.
readelf: Error: .debug_macro section not zero terminated
readelf: Error: Unknown macro opcode bf seen
readelf: Error: Unknown macro opcode 5f seen
readelf: Error: Unknown macro opcode ce seen
readelf: Error: DW_MACRO_start_file used, but no .debug_line offset provided.
readelf: Error: Unknown macro opcode bc seen
readelf: Error: Unknown macro opcode 4f seen
readelf: Error: Unknown macro opcode b2 seen
readelf: Error: Unknown macro opcode 3c seen
readelf: Error: .debug_macro section not zero terminated
readelf: Error: .debug_macro section not zero terminated
readelf: Error: Unknown macro opcode 81 seen
readelf: Error: DW_MACRO_start_file used, but no .debug_line offset provided.
readelf: Error: Unknown macro opcode 3c seen
readelf: Error: DW_MACRO_start_file used, but no .debug_line offset provided.
readelf: Error: Unknown macro opcode 96 seen
readelf: Error: DW_MACRO_start_file used, but no .debug_line offset provided.
readelf: Error: Unknown macro opcode ca seen
readelf: Error: Unknown macro opcode d4 seen
readelf: Error: Unknown macro opcode d8 seen
readelf: Error: Unknown macro opcode 9d seen
readelf: Error: Unknown macro opcode c5 seen
readelf: Error: .debug_macro section not zero terminated
readelf: Error: .debug_macro section not zero terminated
...
--
You are receiving this mail because:
You are on the CC list for the bug.