https://sourceware.org/bugzilla/show_bug.cgi?id=19523
Bug ID: 19523 Summary: objdump: does not support compressed debug sections Product: binutils Version: 2.26 Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: doko at debian dot org Target Milestone: --- [forwarded from https://bugs.debian.org/812089] objdump does not seem to support compressed debug symbols. As we now have -dbgsym packages in Debian which ship such files, this is likely to byte more people in the future. Test case: $ cat <EOF >>test.c int main(int argc, char **argv) { return 42; } EOF $ gcc -g -o test test.c $ objcopy --only-keep-debug --compress-debug-sections test test.debug $ strip --remove-section=.comment --remove-section=.note test $ objcopy --add-gnu-debuglink=test.debug test $ objdump --disassemble --line-numbers test >/dev/null objdump: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information. objdump: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information. objdump: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information. -- 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