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


 > +@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 @"?

Likewise "-var-list --locals" generally would only make seem to make sense
with USE_CURRENT_FRAME i.e "-var-list --locals *".

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.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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