aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-11-12 11:53:50 -0700
committerTom Tromey <tom@tromey.com>2017-01-10 19:13:57 -0700
commit17a22718b113a220de121ef4211fc3990d9b1745 (patch)
tree4d9a2f9a6fe31d0cda47cf6b4cc857feca816ab0 /gdb/python/python-internal.h
parent68cdc55720bbe34d9d844ef2a0c4d75fcab4bc99 (diff)
downloadbinutils-17a22718b113a220de121ef4211fc3990d9b1745.zip
binutils-17a22718b113a220de121ef4211fc3990d9b1745.tar.gz
binutils-17a22718b113a220de121ef4211fc3990d9b1745.tar.bz2
Remove ensure_python_env
All of gdb has been converted away from ensure_python_env and varobj_ensure_python_env now; so remove them. 2017-01-10 Tom Tromey <tom@tromey.com> * python/python.c (ensure_python_env, restore_python_env): Remove. * python/python-internal.h (ensure_python_env): Don't declare. * varobj.h (varobj_ensure_python_env): Don't declare. * varobj.c (varobj_ensure_python_env): Remove.
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r--gdb/python/python-internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index f231486..1d0ce0b 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -538,9 +538,6 @@ class gdbpy_enter_varobj : public gdbpy_enter
};
-struct cleanup *ensure_python_env (struct gdbarch *gdbarch,
- const struct language_defn *language);
-
extern struct gdbarch *python_gdbarch;
extern const struct language_defn *python_language;