Re: [MI RFC] entryval: MI access to entry values

Jan Kratochvil
2011-09-13T19:54:44Z

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