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: Nick Roberts <nickrob at snap dot net dot nz>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches at sources dot redhat dot com
- Date: Fri, 5 Jan 2007 23:24:31 +1300
- Subject: Re: [mi] [ada] varobjs for registers 2
- References: <200612202137.29038.vladimir@codesourcery.com> <20061221072102.GF3640@adacore.com> <20061230203016.GB25539@nevyn.them.org> <E1H2l1E-0006jG-CN@zigzag.lvk.cs.msu.su>
> +@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