This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [mi] [ada] varobjs for registers 2
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches at sources dot redhat dot com
- Date: Fri, 5 Jan 2007 13:46:58 +0300
- Subject: Re: [mi] [ada] varobjs for registers 2
- References: <200612202137.29038.vladimir@codesourcery.com> <E1H2l1E-0006jG-CN@zigzag.lvk.cs.msu.su> <17822.10079.540550.7046@kahikatea.snap.net.nz>
On Friday 05 January 2007 13:24, Nick Roberts wrote:
> > +@smallexample
> > + -var-list --@var{kind} @{@var{frame-addr} | "*"@}
> > +@end smallexample
> > +
> >...
> > +
> > +At the moment the only defined kind is ``registers''.
>
> Isn't "-var-list --registers" only meaningful with USE_SELECTED_FRAME
> i.e "-var-list --registers @"?
It can be also meanigful with specific frame number.
> Likewise "-var-list --locals" generally would only make seem to make sense
> with USE_CURRENT_FRAME i.e "-var-list --locals *".
For --local, I expect it to be meaningful only with specific frame number. Anyway, such
meaningfullness specific to each kind can be documented separately. I'm not sure
the general syntax need those details.
> Also, looking ahead, I wonder what Apple do about deleting variable objects for
> locals when the program exits the frame. Perhaps "-var-list --locals" should
> delete them.
Oh, I guess I really should post my ideas about this. In on my todo for today.
- Volodya