This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] MI: lvalues and variable_editable
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Vladimir Prus <ghost at cs dot msu dot su>, gdb-patches at sources dot redhat dot com
- Date: Thu, 1 Nov 2007 17:42:22 +1300
- Subject: Re: [PATCH] MI: lvalues and variable_editable
- References: <18210.27153.559569.601092@kahikatea.snap.net.nz> <200710271615.23579.ghost@cs.msu.su> <18214.46470.57856.84852@kahikatea.snap.net.nz> <200710301222.03459.ghost@cs.msu.su> <18215.4053.151140.671560@kahikatea.snap.net.nz> <20071030111454.GA14499@caradoc.them.org>
> > For a start -stack-list-frames (unlike `bt') doesn't list arguments or
> > locals so you couldn't create such a watch expression with a single mouse
> > click.
>
> Of course you could. The front end probably fetched the list of
> locals for you when it built its GUI frame display.
I'm not sure of your terminology but "GUI frame display" to me would mean
the locals (and possibly function arguments) of the _selected_ frame.
In any case, I'm proposing a patch that would not change the possibility of
doing what you are suggesting may be done.
--
Nick http://www.inet.net.nz/~nickrob