diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-09 19:30:25 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-09 19:30:25 +0000 |
commit | 93d86cefdf1902d003f0d54f27777b8ea4f75b13 (patch) | |
tree | 1ecbc64a37b1187f691243e03176a92e98bf574b /gdb/gdb-gdb.py | |
parent | 2d6c5dc2c7f35f46bdbcee6ea442a97ae880db4b (diff) | |
download | gdb-93d86cefdf1902d003f0d54f27777b8ea4f75b13.zip gdb-93d86cefdf1902d003f0d54f27777b8ea4f75b13.tar.gz gdb-93d86cefdf1902d003f0d54f27777b8ea4f75b13.tar.bz2 |
gdb/
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.
Diffstat (limited to 'gdb/gdb-gdb.py')
0 files changed, 0 insertions, 0 deletions