gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 1 Aug 2011 14:56:57 +0000 (14:56 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 1 Aug 2011 14:56:57 +0000 (14:56 +0000)
commit311b5970878510067e3b972b1b0c5e78e02af3e1
tree546906b8639fbbd34898b6c376d55c82235c93b6
parent484a26a8cbfeeaa90cf93f056247ceec0d501c59
gdb/
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.
gdb/ChangeLog
gdb/stack.c