Opened 17 years ago
Closed 17 years ago
#1769 closed bug (duplicate)
Binutils 2.17 objdump Broken
Reported by: | bonefish | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Build System | Version: | R1/pre-alpha1 |
Keywords: | Cc: | zooey | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Binutils 2.17 objdump (070218 gcc package from BeBits) crashes when disassembling (gcc 2.95.3 generated) objects with debug info (objdump -D --demangle ...). Can be reproduced under both Haiku and BeOS.
I tracked down one problem to a dereferenced NULL pointer in opcodes/i386-dis.c:print_insn() (first putop() call). Apparently the bug has already been fixed in CVS version 1.132 (2007/08/02 00:40:02) of the file.
I get a different stack trace for another test file (libperl.so compiled with "-g") though, so it seems not to be the only problem.
Update to newer binutils recommended.
Trac's a pleasure to use these days... *sigh*