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]

[commit] [patch 06/12] entryval#3: reshuffle: Arguments reading+printing


On Thu, 29 Sep 2011 21:51:04 +0200, Jan Kratochvil wrote:
> gdb/
> 2011-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Code reshuffle.
> 	* frame.h (struct frame_arg): New definition.
> 	(read_frame_arg): New declaration.
> 	* mi/mi-cmd-stack.c (list_arg_or_local): New functiom from ...
> 	(list_args_or_locals): ... the code here.  New variable arg, call
> 	read_frame_arg and list_arg_or_local with it.  Unify the
> 	PRINT_SIMPLE_VALUES and PRINT_ALL_VALUES cases.  Call xfree for
> 	arg.error.
> 	* stack.c (print_frame_arg): New functiom from the code of
> 	print_frame_args.
> 	(read_frame_arg): New function.
> 	(print_frame_args): Remove variable val.  New variable arg, call
> 	read_frame_arg and print_frame_arg with it.  Call xfree for arg.error.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2011-10/msg00061.html


Thanks,
Jan


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