* dwarf2.c (dwarf_debug_sections): Add .debug_macro
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Jul 2011 21:31:37 +0000 (21:31 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 26 Jul 2011 21:31:37 +0000 (21:31 +0000)
commit4ccf1e317a7df0e94f1c5f2adc52c4c92b937e65
treea5911123572e8bf79308109afe310cdba914e8f5
parent5005c8a90ab7a7eb5320d53cf6b8e57ca8f71b2b
* 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