This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch] PR python/15464 and python/16113
- From: Tom Tromey <tromey at redhat dot com>
- To: Siva Chandra <sivachandra at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 06 Jan 2014 13:36:10 -0700
- Subject: Re: [Patch] PR python/15464 and python/16113
- Authentication-results: sourceware.org; auth=none
- References: <CAGyQ6gyT_vfZaFPSbBMVn5oZ+awqzEiMXGD5-ffowDdWMPv3uA at mail dot gmail dot com>
>>>>> "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