This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Avoid pascal crashes for structures having fields without names
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 14 Oct 2010 11:48:20 -0600
- Subject: Re: [PATCH] Avoid pascal crashes for structures having fields without names
- References: <35800.5107882947$1287069713@news.gmane.org>
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> + && TYPE_FIELDS (type) [0].name
I think it is more idiomatic to use the accessors like TYPE_FIELD_NAME.
Tom