Display null bytes in DWARF debug info
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 2 Aug 2012 13:42:59 +0000 (13:42 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 2 Aug 2012 13:42:59 +0000 (13:42 +0000)
commit399c99f739767af94870e8fde027f9f0473fad16
tree1b34877bcc1c218b02f1ec813975d6a503d8c1bc
parentccce17b060f58e5bf38ac70ac972438af2e0f299
Display null bytes in DWARF debug info

binutils/

PR binutils/14420
* dwarf.c (process_abbrev_section): Add attribute terminator.
Warn missing section terminator.
(get_FORM_name): Special check for 0 value.
(get_AT_name): Likewise.
(process_debug_info): Display zero abbrev number.  Check
attribute terminator.

binutils/testsuite/

PR binutils/14420
* binutils-all/i386/compressed-1a.d: Updated.
* binutils-all/objdump.W: Likewise.
* binutils-all/readelf.wa: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.

gas/testsuite/

PR binutils/14420
* gas/elf/dwarf2-1.d: Updated.
* gas/elf/dwarf2-2.d: Likwise.
* gas/i386/dw2-compress-1.d: Likwise.
binutils/ChangeLog
binutils/dwarf.c
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/i386/compressed-1a.d
binutils/testsuite/binutils-all/objdump.W
binutils/testsuite/binutils-all/readelf.wa
binutils/testsuite/binutils-all/x86-64/compressed-1a.d
gas/testsuite/ChangeLog
gas/testsuite/gas/elf/dwarf2-1.d
gas/testsuite/gas/elf/dwarf2-2.d
gas/testsuite/gas/i386/dw2-compress-1.d