pushed: [RFA/DWARF] Set enum type "flag_enum" and "unsigned" flags at type creation.
Joel Brobecker
brobecker@adacore.com
Wed Feb 26 18:42:00 GMT 2014
> gdb/ChangeLog:
>
> * dwarf2read.c (update_enumeration_type_from_children): New
> function, mostly extracted from process_structure_scope.
> (read_enumeration_type): Call update_enumeration_type_from_children.
> (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
> and flag_flag_enum fields.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
Retested on x86_64-linux and pushed.
--
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-DWARF-Set-enum-type-flag_enum-and-unsigned-flags-at-.patch
Type: text/x-diff
Size: 13714 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20140226/87906f42/attachment.bin>
More information about the Gdb-patches
mailing list