aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 509cc7b..49df6f9 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -233,6 +233,13 @@ varobj_ensure_python_env (const struct varobj *var)
return ensure_python_env (var->root->exp->gdbarch,
var->root->exp->language_defn);
}
+
+/* See python-internal.h. */
+gdbpy_enter_varobj::gdbpy_enter_varobj (const struct varobj *var)
+: gdbpy_enter (var->root->exp->gdbarch, var->root->exp->language_defn)
+{
+}
+
#endif
/* Return the full FRAME which corresponds to the given CORE_ADDR