This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] PR python/15464 and python/16113


>>>>> "Siva" == Siva Chandra <sivachandra@google.com> writes:

Siva> Unnamed fields have a name equal to an empty string ("").

That seems like an undiagnosed bug in py-type.c:convert_field.
I guess TYPE_FIELD_NAME is ""?
It seems like it may be better to check that case there and convert it
to None.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]