From b31da25ee58e2b01aa0c189474a277b443d94517 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 21 Apr 2002 20:23:34 +0000 Subject: * frame.h (selected_frame_level): Document as deprecated. (frame_relative_level): Declare. * stack.c (frame_relative_level): New function. (selected_frame_level): Document as deprecated. (select_frame): Do not set the selected_frame_level. * stack.c (frame_info, record_selected_frame): Update. (frame_command, current_frame_command): Update. (up_silently_base, up_command, down_silently_base): Update. (down_command): Update. * inflow.c (kill_command): Update. * tracepoint.c (finish_tfind_command): Update. * corelow.c (core_open): Update. * thread.c (info_threads_command): Update. (do_captured_thread_select): Update. * infcmd.c (finish_command): Update. * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. --- gdb/infcmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/infcmd.c') diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 0680caa..a7496d1 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1289,7 +1289,8 @@ finish_command (char *arg, int from_tty) if (from_tty) { printf_filtered ("Run till exit from "); - print_stack_frame (selected_frame, selected_frame_level, 0); + print_stack_frame (selected_frame, + frame_relative_level (selected_frame), 0); } /* If running asynchronously and the target support asynchronous -- cgit v1.1