GCC5/DWARFv5 Handle DW_TAG_atomic_type for C11 _Atomic type qualifier.
authorMark Wielaard <mjw@redhat.com>
Mon, 9 Feb 2015 13:58:25 +0000 (14:58 +0100)
committerMark Wielaard <mjw@redhat.com>
Mon, 9 Feb 2015 14:09:22 +0000 (15:09 +0100)
commita2c2acaf15e9cc40bae8a6eebba78aadd3a31b8e
treed83d74ca8ec983bc4abc4d401d816abb2eb53d48
parente051a5b512a282642030720c69b5b4f9a85314ea
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.
gdb/ChangeLog
gdb/c-typeprint.c
gdb/dwarf2read.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/atomic-type.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/atomic.c [new file with mode: 0644]
include/ChangeLog
include/dwarf2.def
This page took 0.028231 seconds and 4 git commands to generate.