aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 30f1c38..35275c9 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -441,7 +441,7 @@ varobj_create (char *objname,
/* Allow creator to specify context of variable */
if ((type == USE_CURRENT_FRAME) || (type == USE_SELECTED_FRAME))
- fi = selected_frame;
+ fi = deprecated_selected_frame;
else
/* FIXME: cagney/2002-11-23: This code should be doing a
lookup using the frame ID and not just the frame's
@@ -488,7 +488,7 @@ varobj_create (char *objname,
if (fi != NULL)
{
get_frame_id (fi, &var->root->frame);
- old_fi = selected_frame;
+ old_fi = deprecated_selected_frame;
select_frame (fi);
}
@@ -898,7 +898,7 @@ varobj_update (struct varobj **varp, struct varobj ***changelist)
/* Save the selected stack frame, since we will need to change it
in order to evaluate expressions. */
- get_frame_id (selected_frame, &old_fid);
+ get_frame_id (deprecated_selected_frame, &old_fid);
/* Update the root variable. value_of_root can return NULL
if the variable is no longer around, i.e. we stepped out of