This is the mail archive of the
mailing list for the GDB project.
Re: MI varobj properties
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 16 Nov 2006 09:58:22 +1300
- Subject: Re: MI varobj properties
- References: <email@example.com>
> Except for getting the value of a variable objects, all those properties are
> computed by gdb, and there are no complex algorithms. How about the
> following change:
> - The commands that create new variable object always return full
> list of properties.
> - There's a new command that also returns the full list of properties
> - For backward compatibility, existing commands just forward
> to the new command.
I only use the properties currently output with -var-create. I think first you
need to consider carefully how you would use any new command and which
properties change after creation (if there are none then they could all be
accessed from -var-create). I'm not sure what you mean by forward to the new
command, presumably you can add a new command and leave the old ones as they