From 4ccf1e317a7df0e94f1c5f2adc52c4c92b937e65 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 26 Jul 2011 21:31:37 +0000 Subject: * 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. --- binutils/dwarf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'binutils/dwarf.h') diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 07b95b0..7a755c9 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -143,6 +143,7 @@ enum dwarf_section_display_enum pubnames, eh_frame, macinfo, + macro, str, loc, pubtypes, -- cgit v1.1