[RFC][PATCH][PR gdb/24154] Use real type for member functions with auto return type

Tom Tromey tom@tromey.com
Fri May 8 20:18:11 GMT 2020


>>>>> "Hannes" == Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> writes:

>> It definitely seems better to handle this in the DWARF reader then.
>> What do you think?

Hannes> I don't really have a strong opinion where this should be
Hannes> handled.

IMO it belongs in the reader, since it's working around a deficiency in
gcc's output.

Hannes> And if I understand you correctly, when you say handle in the DWARF reader,
Hannes> then I think it would also change the displayed return type in the struct:

Yes, and value.c shouldn't need a change.

Tom


More information about the Gdb-patches mailing list