This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] MI: lvalues and variable_editable
On Wed, Oct 31, 2007 at 12:04:53AM +1300, Nick Roberts wrote:
> > GDB,
> > as it stands, allows you to create a variable object in any frame, and your
> > patch does not work with that. So, either creating variable objects in any
> > frame should be disallowed,
>
> Actually I think that would be a good idea. Generally a user would create a
> watch expression in the frame he's examining. If not, the frontend would have
> to prompt for the frame. Does KDevelop do this?
If you have a GUI with a stack pane, it may be showing a lot of frames
at once. Why force the front end to select a frmae before creating
the varobj?
--
Daniel Jacobowitz
CodeSourcery