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/regcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/regcache.h') diff --git a/gdb/regcache.h b/gdb/regcache.h index c6ce2e3..fc24559 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -163,7 +163,7 @@ extern void regcache_cpy_no_passthrough (struct regcache *dest, struct regcache simple substitution is required when updating the code. The change, as far as practical, should avoid adding references to global variables (e.g., current_regcache, current_frame, - current_gdbarch or deprecated_selected_frame) and instead refer to + current_gdbarch or the selected frame) and instead refer to the FRAME or REGCACHE that has been passed into the containing function as parameters. Consequently, the change typically involves modifying the containing function so that it takes a FRAME -- cgit v1.1