aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-21 20:23:34 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-21 20:23:34 +0000
commitb31da25ee58e2b01aa0c189474a277b443d94517 (patch)
treebd1b4f62bb41babd8e6f5f4656b696bbdca57a63 /gdb/inflow.c
parent9c1d6fe5536783eb7199ca7767f7ee74d5e9e6fd (diff)
downloadgdb-b31da25ee58e2b01aa0c189474a277b443d94517.zip
gdb-b31da25ee58e2b01aa0c189474a277b443d94517.tar.gz
gdb-b31da25ee58e2b01aa0c189474a277b443d94517.tar.bz2
* 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.
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r--gdb/inflow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c
index 9cf24f4..526acdf 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -594,7 +594,8 @@ kill_command (char *arg, int from_tty)
if (selected_frame == NULL)
fputs_filtered ("No selected stack frame.\n", gdb_stdout);
else
- print_stack_frame (selected_frame, selected_frame_level, 1);
+ print_stack_frame (selected_frame,
+ frame_relative_level (selected_frame), 1);
}
}