2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 30 Sep 2005 14:56:34 +0000 (14:56 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 30 Sep 2005 14:56:34 +0000 (14:56 +0000)
commit365544c3f03d9fcd2557e653c56326c3440e0fad
tree7faed6ede2b292b8f9191456102a216f9b4c5b10
parent19e6b90ed846a3d7bbbd43ecee86df86a55a59a6
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (objdump_SOURCES): Add dwarf.c.
* Makefile.in: Regenerated.

* objdump.c: Include "dwarf.h".
(usage): Add -W/--dwarf.
(long_options): Likewise.
(dump_dwarf_section_info): New.
(load_debug_section): Likewise.
(free_debug_section): Likewise.
(dump_dwarf_section): Likewise.
(dump_dwarf): Likewise.
(dump_bfd): Load symbol table and call dump_dwarf if
dump_dwarf_section_info isn't zero.
(main): Handle -W/--dwarf.
binutils/ChangeLog
binutils/Makefile.am
binutils/Makefile.in
binutils/objdump.c