summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-07-26 17:04:21 +0000
committerTom Tromey <tromey@redhat.com>2011-07-26 17:04:21 +0000
commit101e95e8a31879712dff26d233cdb266c1aba673 (patch)
tree36fba797f517964de1bff2ef8a61cc92d02d1354 /gdb/symfile.h
parentfe859723ec5d5a057d7aec377036136bd4ae4369 (diff)
downloadgdb-101e95e8a31879712dff26d233cdb266c1aba673.tar.gz
* symfile.h (struct dwarf2_debug_sections) <macro>: New field.
* dwarf2read.c (read_indirect_string_at_offset): New function. (read_indirect_string): Use it. (dwarf_decode_macro_bytes): New function, taken from dwarf_decode_macros. Handle DW_MACRO_GNU_*. (dwarf_decode_macros): Use it. handle DW_MACRO_GNU_*. (dwarf_parse_macro_header, skip_form_bytes, skip_unknown_opcode): New functions. (struct dwarf2_per_objfile) <macro>: New field. (dwarf2_elf_names): Add .debug_macro. (dwarf2_macros_too_long_complaint): Add 'section' argument. (dwarf2_locate_sections): Handle new section. (read_file_scope): Handle DW_AT_GNU_macros. (dwarf2_per_objfile_free): Unmap the .debug_macro section.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index cc65a14140d..eb5beaa6739 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -582,6 +582,7 @@ struct dwarf2_debug_sections {
struct dwarf2_section_names line;
struct dwarf2_section_names loc;
struct dwarf2_section_names macinfo;
+ struct dwarf2_section_names macro;
struct dwarf2_section_names str;
struct dwarf2_section_names ranges;
struct dwarf2_section_names types;