diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-09 19:30:24 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-09 19:30:24 +0000 |
commit | 842d224b50503f91c1d582c1a5deca80ee5a466c (patch) | |
tree | a4039f167642016fadb0339cf3b6fed7e499acec /gdb/dwarf2expr.h | |
parent | 3e6f69839cc2e003a3ebe3ef4ee0361fc2e0b971 (diff) | |
download | gdb-842d224b50503f91c1d582c1a5deca80ee5a466c.tar.gz |
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/dwarf2expr.h')
0 files changed, 0 insertions, 0 deletions