diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-07-26 21:31:37 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2011-07-26 21:31:37 +0000 |
commit | 4ccf1e317a7df0e94f1c5f2adc52c4c92b937e65 (patch) | |
tree | a5911123572e8bf79308109afe310cdba914e8f5 /bfd | |
parent | 5005c8a90ab7a7eb5320d53cf6b8e57ca8f71b2b (diff) | |
download | gdb-4ccf1e317a7df0e94f1c5f2adc52c4c92b937e65.zip gdb-4ccf1e317a7df0e94f1c5f2adc52c4c92b937e65.tar.gz gdb-4ccf1e317a7df0e94f1c5f2adc52c4c92b937e65.tar.bz2 |
* 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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/dwarf2.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c92d664..495f9f2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2011-07-26 Jakub Jelinek <jakub@redhat.com> + + * dwarf2.c (dwarf_debug_sections): Add .debug_macro + and .zdebug_macro entry. + (dwarf_debug_section_enum): Add debug_macro. + 2011-07-26 Alan Modra <amodra@gmail.com> * elf32-ppc.c: Include dwarf2.h. diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 02e69a8..3cd2f7d 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -287,6 +287,7 @@ const struct dwarf_debug_section dwarf_debug_sections[] = { ".debug_line", ".zdebug_line" }, { ".debug_loc", ".zdebug_loc" }, { ".debug_macinfo", ".zdebug_macinfo" }, + { ".debug_macro", ".zdebug_macro" }, { ".debug_pubnames", ".zdebug_pubnames" }, { ".debug_pubtypes", ".zdebug_pubtypes" }, { ".debug_ranges", ".zdebug_ranges" }, @@ -314,6 +315,7 @@ enum dwarf_debug_section_enum debug_line, debug_loc, debug_macinfo, + debug_macro, debug_pubnames, debug_pubtypes, debug_ranges, |