diff options
author | pmuldoon <pmuldoon> | 2011-11-28 15:49:40 +0000 |
---|---|---|
committer | pmuldoon <pmuldoon> | 2011-11-28 15:49:40 +0000 |
commit | fbdf7b32f1577421e5d4c63843202e30e9f75f5d (patch) | |
tree | 030408e14ae78cf3e161a93b1363e83709e23013 /gdb/python/python.c | |
parent | c68602128c7713a1260c84ed02a0691c42b96eb5 (diff) | |
download | gdb-fbdf7b32f1577421e5d4c63843202e30e9f75f5d.tar.gz |
2011-11-28 Phil Muldoon <pmuldoon@redhat.com>
PR python/13369
PR python/13374
* python/python.c (gdbpy_decode_line): Do not acquire GIL.
* python/py-inferior.c (inferior_to_inferior_object): Ditto.
* python/py-value.c (valpy_nonzero): Use TRY_CATCH to catch GDB
exceptions.
* python/py-type.c (typy_strip_typedefs): Ditto.
(typy_legacy_template_argument): Ditto.
* python/py-inferior.c (inferior_to_inferior_object): Ditto.
* python/py-breakpoint.c (bppy_set_ignore_count): Ditto.
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r-- | gdb/python/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c index 108e5428a60..60225720af1 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -504,7 +504,7 @@ gdbpy_decode_line (PyObject *self, PyObject *args) if (! PyArg_ParseTuple (args, "|s", &arg)) return NULL; - cleanups = ensure_python_env (get_current_arch (), current_language); + cleanups = make_cleanup (null_cleanup, NULL); TRY_CATCH (except, RETURN_MASK_ALL) { |