This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI RFC] entryval: MI access to entry values
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 13 Sep 2011 21:54:23 +0200
- Subject: Re: [MI RFC] entryval: MI access to entry values
- References: <20110718201852.GG30496@host1.jankratochvil.net> <CAN9gPaFFbEXH373MfCsS_LQga65X4VT9T57KnFgXOxpmmGih4g@mail.gmail.com> <20110902170745.GA22738@host1.jankratochvil.net>
On Fri, 02 Sep 2011 19:07:45 +0200, Jan Kratochvil wrote:
> (1)
> so I am inclined to just produce these MI records (which normal and @entry
> variable variants get included depends on `-gdb-set print entry-values' like in
> CLI):
> print_frame_args:
> *stopped,[...],args=[{name="lost",value="<optimized out>"},{name="lost@entry",value="5"},{name="born",value="10"}],[...]
> list_args_or_locals:
> -stack-list-variables --all-values
> ^done,variables=[{name="lost",arg="1",value="<optimized out>"},{name="lost@entry",arg="1",value="5"},{name="born",arg="1",value="10"}]
FYI chosen this variant in:
[patch 07/12+doc] entryval#2: Display @entry parameters
http://sourceware.org/ml/gdb-patches/2011-09/msg00229.html
Jan