diff options
Diffstat (limited to 'gdb/python/py-tui.c')
-rw-r--r-- | gdb/python/py-tui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/python/py-tui.c b/gdb/python/py-tui.c index 984fa9b..3bcd02d 100644 --- a/gdb/python/py-tui.c +++ b/gdb/python/py-tui.c @@ -415,8 +415,7 @@ gdbpy_register_tui_window (PyObject *self, PyObject *args, PyObject *kw) } catch (const gdb_exception &except) { - gdbpy_convert_exception (except); - return nullptr; + GDB_PY_HANDLE_EXCEPTION (except); } Py_RETURN_NONE; |