diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-07-22 20:37:50 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2011-07-22 20:37:50 +0000 |
commit | d474311490a5cf44059606c48c667a2e0f73732e (patch) | |
tree | a4f7d41cc4fe7b9a7e648b97246278e8c3817c8f | |
parent | 7a9068fe16462c35cdccd371fe588111dd1866ea (diff) | |
download | gdb-d474311490a5cf44059606c48c667a2e0f73732e.zip gdb-d474311490a5cf44059606c48c667a2e0f73732e.tar.gz gdb-d474311490a5cf44059606c48c667a2e0f73732e.tar.bz2 |
* dwarf2.h (DW_AT_GNU_macros): New.
(enum dwarf_macro_record_type): New enum. Add DW_MACRO_GNU_*.
-rw-r--r-- | include/ChangeLog | 3 | ||||
-rw-r--r-- | include/dwarf2.h | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index c563678..255806e 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,8 @@ 2011-07-22 Jakub Jelinek <jakub@redhat.com> + * dwarf2.h (DW_AT_GNU_macros): New. + (enum dwarf_macro_record_type): New enum. Add DW_MACRO_GNU_*. + PR c++/49756 * libiberty.h (stack_limit_increase): New prototype. diff --git a/include/dwarf2.h b/include/dwarf2.h index b2806ef..37cb83f 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -366,6 +366,8 @@ enum dwarf_attribute DW_AT_GNU_all_tail_call_sites = 0x2116, DW_AT_GNU_all_call_sites = 0x2117, DW_AT_GNU_all_source_call_sites = 0x2118, + /* Section offset into .debug_macro section. */ + DW_AT_GNU_macros = 0x2119, /* VMS extensions. */ DW_AT_VMS_rtnbeg_pd_address = 0x2201, /* GNAT extensions. */ @@ -879,6 +881,20 @@ enum dwarf_macinfo_record_type DW_MACINFO_end_file = 4, DW_MACINFO_vendor_ext = 255 }; + +/* Names and codes for new style macro information. */ +enum dwarf_macro_record_type + { + DW_MACRO_GNU_define = 1, + DW_MACRO_GNU_undef = 2, + DW_MACRO_GNU_start_file = 3, + DW_MACRO_GNU_end_file = 4, + DW_MACRO_GNU_define_indirect = 5, + DW_MACRO_GNU_undef_indirect = 6, + DW_MACRO_GNU_transparent_include = 7, + DW_MACRO_GNU_lo_user = 0xe0, + DW_MACRO_GNU_hi_user = 0xff + }; /* @@@ For use with GNU frame unwind information. */ |