This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [mi] [ada] varobjs for registers 2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]