diff options
author | Tom Tromey <tromey@redhat.com> | 2011-07-26 17:04:23 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-07-26 17:04:23 +0000 |
commit | cf2c3c16d9bd46007c475cef6c5b2bc91958e0c4 (patch) | |
tree | fc031743ab377f9f805e043aff15a8915c837502 /gdb/ChangeLog | |
parent | 177bc8396e788c07ad747fd362d7a325f8169324 (diff) | |
download | gdb-cf2c3c16d9bd46007c475cef6c5b2bc91958e0c4.zip gdb-cf2c3c16d9bd46007c475cef6c5b2bc91958e0c4.tar.gz gdb-cf2c3c16d9bd46007c475cef6c5b2bc91958e0c4.tar.bz2 |
* 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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 207acdc..6bc5e4b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,20 @@ +2011-07-26 Tom Tromey <tromey@redhat.com> + + * 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. + 2011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com> * NEWS: Mention dcache configuration. |