This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [python][patch] Add is_base_class attribute to fields.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Phil Muldoon <pmuldoon at redhat dot com>
- Cc: tromey at redhat dot com, gdb-patches at sourceware dot org
- Date: Thu, 03 Dec 2009 10:39:40 -0500
- Subject: Re: [python][patch] Add is_base_class attribute to fields.
- References: <4B13A147.2040208@redhat.com> <m3tywamn8r.fsf@fleche.redhat.com> <4B17D4C3.1040703@redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 03 Dec 2009 15:09:55 +0000
> From: Phil Muldoon <pmuldoon@redhat.com>
> CC: gdb-patches ml <gdb-patches@sourceware.org>
>
> I've modified the patch as attached. If Eli does not have any comments or
> changes to the doc section, this is what I will commit.
The doco part is okay, except for one issue:
> +structure. This attribute is always provided, and is @code{False}
> +if the field is not a base class of the type on which @code{fields} was
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> +called, or if that type was not a C@t{++} class.
^^^^^^
I think ``the type that is the argument of @code{fields}'' is much
more clear (unless I misunderstood what you wanted to say).
Thanks.