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 RFC] entryval: MI access to entry values


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


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