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: [patch 1/2] Code cleanup: stack.c catch_errors -> TRY_CATCH


On Sun, 31 Jul 2011 00:20:01 +0200, Jan Kratochvil wrote:
> gdb/
> 2011-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Code cleanup.
> 	* stack.c (struct print_stack_frame_args, print_stack_frame_stub):
> 	Remove, merge them into ...
> 	(print_stack_frame): ... here with a TRY_CATCH.  New variable e, remove
> 	variable args and its initialization.
> 	(struct print_args_args, print_args_stub): Remove, merge them into
> 	print_frame.
> 	(struct gdb_disassembly_stub_args, gdb_disassembly_stub): Remove, merge
> 	them into ...
> 	(do_gdb_disassembly): ... here.  Remove variable args and its
> 	initialization.
> 	(print_frame): Remove variable args and its initialization, new
> 	variable gdbarch and numargs (from print_args_stub), inline here
> 	print_args_stub with a TRY_CATCH.
> 	(struct backtrace_command_args, backtrace_command_stub): Remove, merge
> 	them into ...
> 	(backtrace_command, backtrace_full_command): ... here with a TRY_CATCH.
> 	New variable e, remove variable btargs and its initialization.  

Checked it in when Tom expressed his agreement.
	http://sourceware.org/ml/gdb-cvs/2011-08/msg00003.html


Thanks,
Jan


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