[mi] [ada] varobjs for registers 2
Vladimir Prus
ghost@cs.msu.su
Fri Jan 5 10:47:00 GMT 2007
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
More information about the Gdb-patches
mailing list