This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch: implement new dynamic varobj spec
> From: Tom Tromey <tromey@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Mon, 14 Sep 2009 14:03:05 -0600
>
> Tom> +This operation returns attributes of the newly-created varobj. These
> Tom> +include, but are not limited to:
>
> Eli> Why don't we have an exhaustive list here?
>
> We may add attributes later.
Then I don't see a need to have the "not limited to" part. When we
add more attributes, we should add them to the list.
> Tom> +For a dynamic varobj, this value cannot reliably be used to form an
> Tom> +expression. Also, a dynamic varobj will not report the access
> Tom> +qualifying pseudo-children, regardless of the language.
>
> Eli> Do we want to give the reader some hints as to how to achieve these
> Eli> with dynamic varobjs?
>
> There is no way to do these.
I suggest to say so, then.
Thanks.