This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA v2 4/4] Handle DW_TAG_variant_part and DW_TAG_variant
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> 2018-02-22 Tom Tromey <tom@tromey.com>
>>
>> * dwarf2read.c (struct variant_field): New.
>> (struct nextfield) <variant>: New field.
>> (dwarf2_add_field): Handle DW_TAG_variant_part.
>> (dwarf2_attach_fields_to_type): Attach a discriminant_info to a
>> discriminated union.
Joel> Looks good to me, Tom. Thanks!
Thanks for the reviews. I've updated the patches. Patch #4 needed a
minor adjustment to the new complaints to account for the recent 64-bit
sect_offset change.
Tom