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
On Tuesday, September 13, 2011 23:54:23 Jan Kratochvil wrote:
> 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
Sorry for not responding earlier. This approach certianly looks best for existing frontneds.
Thanks,
--
Vladimir Prus
CodeSourcery / Mentor Graphics
+7 (812) 677-68-40