diff options
Diffstat (limited to 'gdb/python/py-arch.c')
-rw-r--r-- | gdb/python/py-arch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/python/py-arch.c b/gdb/python/py-arch.c index c6f5662..178efab 100644 --- a/gdb/python/py-arch.c +++ b/gdb/python/py-arch.c @@ -199,8 +199,7 @@ archpy_disassemble (PyObject *self, PyObject *args, PyObject *kw) } catch (const gdb_exception &except) { - gdbpy_convert_exception (except); - return NULL; + GDB_PY_HANDLE_EXCEPTION (except); } gdbpy_ref<> pc_obj = gdb_py_object_from_ulongest (pc); |