OSDN Git Service

* dwarf2.c (dwarf_debug_sections): Add .debug_macro
authorjakub <jakub>
Tue, 26 Jul 2011 21:31:35 +0000 (21:31 +0000)
committerjakub <jakub>
Tue, 26 Jul 2011 21:31:35 +0000 (21:31 +0000)
commit4dffb4121eb6ae268452d7dc68251a0eee82ab08
treef33df3ca16c82626d8bfd4e16e7e390d11ce2b98
parent630c0adeef0cd1d7150eed8334f2b428936f1328
* dwarf2.c (dwarf_debug_sections): Add .debug_macro
and .zdebug_macro entry.
(dwarf_debug_section_enum): Add debug_macro.

* NEWS: Mention .debug_macro support.
* dwarf.c (read_and_display_attr_value): Don't print a tab
if attribute is 0.
(get_AT_name): Handle DW_AT_GNU_macros.
(get_line_filename_and_dirname, display_debug_macro): New
functions.
(debug_displays): Add an entry for .debug_macro and .zdebug_macro.
* readelf.c (process_section_headers): With do_debug_macinfo
handle also .debug_macro sections.
* dwarf.h (dwarf_section_display_enum): Add macro.
bfd/ChangeLog
bfd/dwarf2.c
binutils/ChangeLog
binutils/NEWS
binutils/dwarf.c
binutils/dwarf.h
binutils/readelf.c