[PATCH] GCC5/DWARFv5 Handle DW_TAG_atomic_type for C11 _Atomic type qualifier.
Mark Wielaard
mjw@redhat.com
Fri Jan 23 16:57:00 GMT 2015
On Fri, 2015-01-16 at 09:00 +0100, Mark Wielaard wrote:
> On Tue, 2014-12-09 at 23:30 +0100, Mark Wielaard wrote:
> > This is a cleanup version of the prototype we discussed 6 months ago.
> > https://sourceware.org/ml/gdb-patches/2014-06/msg00795.html
> > GCC now has support for DW_TAG_atomic_type when using the experimental
> > -gdwarf-5 flag. I fixed up the issues Tom pointed out back in June.
> > And I changed the testcase to use the DWARF assembler.
> >
> > 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.
> >
> > OK to commit?
>
> Ping. Rebased version of patch attached.
Ping?
More information about the Gdb-patches
mailing list