diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-28 16:36:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-28 16:36:25 +0000 |
commit | 0faf007628341c5afd2d3721c84e46d27ff6d3e0 (patch) | |
tree | 0d0c60340431c1f9786ac954dbb4303f2859fbf8 /gdb/frame.h | |
parent | 5d38b224def119ade197afdee5a072891a177e8a (diff) | |
download | gdb-0faf007628341c5afd2d3721c84e46d27ff6d3e0.zip gdb-0faf007628341c5afd2d3721c84e46d27ff6d3e0.tar.gz gdb-0faf007628341c5afd2d3721c84e46d27ff6d3e0.tar.bz2 |
2004-04-28 Andrew Cagney <cagney@redhat.com>
* stack.c (print_stack_frame_stub): Delete declaration.
(struct print_stack_frame_args, print_stack_frame)
(print_frame_info, print_frame): Replace "source" with print what.
Replace "print" with "print_level". Replace "args" with
"print_args".
* frame.h (show_and_print_stack_frame, print_stack_frame)
(print_frame_info): Update declarations.
* stack.c (select_and_print_frame, frame_command)
(current_frame_command, up_command, down_command): Update calls -
use get_selected_frame, pass "enum print_what" for source, do not
call frame_relative_level.
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto.
* remote-rdp.c (remote_rdp_open): Ditto.
* remote-mips.c (common_open): Ditto.
* remote-e7000.c (e7000_start_remote): Ditto.
* ocd.c (ocd_start_remote): Ditto.
* mi/mi-main.c (mi_cmd_exec_return): Ditto.
* infrun.c (normal_stop): Ditto.
* inflow.c (kill_command): Ditto.
* infcmd.c (finish_command): Ditto.
* corelow.c (core_open): Ditto.
* tracepoint.c (finish_tfind_command): Ditto.
* thread.c (info_threads_command, info_threads_command)
(restore_current_thread, do_captured_thread_select): Ditto.
* ada-tasks.c (task_command): Ditto.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index 69d4e8f..f024990 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -554,14 +554,16 @@ extern int legacy_frameless_look_for_prologue (struct frame_info *); extern struct frame_info *find_relative_frame (struct frame_info *, int *); -extern void show_and_print_stack_frame (struct frame_info *fi, int level, - int source); +extern void show_and_print_stack_frame (struct frame_info *fi, int print_level, + enum print_what print_what); -extern void print_stack_frame (struct frame_info *, int, int); +extern void print_stack_frame (struct frame_info *, int print_level, + enum print_what print_what); extern void show_stack_frame (struct frame_info *); -extern void print_frame_info (struct frame_info *, int, int, int); +extern void print_frame_info (struct frame_info *, int print_level, + enum print_what print_what, int args); extern struct frame_info *block_innermost_frame (struct block *); |