aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-02-09 14:58:25 +0100
committerMark Wielaard <mjw@redhat.com>2015-02-09 15:09:22 +0100
commita2c2acaf15e9cc40bae8a6eebba78aadd3a31b8e (patch)
treed83d74ca8ec983bc4abc4d401d816abb2eb53d48 /include
parente051a5b512a282642030720c69b5b4f9a85314ea (diff)
downloadgdb-a2c2acaf15e9cc40bae8a6eebba78aadd3a31b8e.zip
gdb-a2c2acaf15e9cc40bae8a6eebba78aadd3a31b8e.tar.gz
gdb-a2c2acaf15e9cc40bae8a6eebba78aadd3a31b8e.tar.bz2
GCC5/DWARFv5 Handle DW_TAG_atomic_type for C11 _Atomic type qualifier.
gdb/ChangeLog * c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'. (c_type_print_modifier): Likewise. * dwarf2read.c (read_tag_atomic_type): New function. (read_type_die_1): Handle DW_TAG_atomic_type. * gdbtypes.c (make_atomic_type): New function. (recursive_dump_type): Handle TYPE_ATOMIC. * gdbtypes.h (enum type_flag_values): Renumber. (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_ATOMIC. (TYPE_ATOMIC): New macro. (make_atomic_type): Declare. gdb/testsuite/ChangeLog * gdb.dwarf2/atomic.c: New file. * gdb.dwarf2/atomic-type.exp: Likewise. include/ChangeLog * dwarf2.def: Add DW_TAG_atomic_type.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/dwarf2.def2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 16dc84a..4004997 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-09 Mark Wielaard <mjw@redhat.com>
+
+ * dwarf2.def: Add DW_TAG_atomic_type.
+
2015-01-28 James Bowman <james.bowman@ftdichip.com>
* dis-asm.h (print_insn_ft32): Declare.
diff --git a/include/dwarf2.def b/include/dwarf2.def
index 3aecdfc..e61cfbe 100644
--- a/include/dwarf2.def
+++ b/include/dwarf2.def
@@ -131,6 +131,8 @@ DW_TAG (DW_TAG_shared_type, 0x40)
DW_TAG (DW_TAG_type_unit, 0x41)
DW_TAG (DW_TAG_rvalue_reference_type, 0x42)
DW_TAG (DW_TAG_template_alias, 0x43)
+/* DWARF 5. */
+DW_TAG (DW_TAG_atomic_type, 0x47)
DW_TAG_DUP (DW_TAG_lo_user, 0x4080)
DW_TAG_DUP (DW_TAG_hi_user, 0xffff)