From 206415a3eac4f69d24cf872f880f554d3d43f1bb Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 27 Feb 2007 19:46:04 +0000 Subject: * frame.c (deprecated_selected_frame): Rename to... (selected_frame): ...this. Make static. (get_selected_frame, select_frame): Update. * frame.h (deprected_select_frame): Delete. (deprecated_safe_get_selected_frame): Update comments. * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, tui/tui.c: Replace references to deprecated_selected_frame. --- gdb/tui/tui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/tui/tui.c') diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 84df832..a552f42 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -408,8 +408,8 @@ tui_enable (void) tui_setup_io (1); tui_active = 1; - if (deprecated_selected_frame) - tui_show_frame_info (deprecated_selected_frame); + if (deprecated_safe_get_selected_frame ()) + tui_show_frame_info (deprecated_safe_get_selected_frame ()); /* Restore TUI keymap. */ tui_set_key_mode (tui_current_key_mode); -- cgit v1.1