diff options
Diffstat (limited to 'gdb/python/py-record-btrace.c')
-rw-r--r-- | gdb/python/py-record-btrace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/python/py-record-btrace.c b/gdb/python/py-record-btrace.c index 64b25fa..e7153fb 100644 --- a/gdb/python/py-record-btrace.c +++ b/gdb/python/py-record-btrace.c @@ -212,7 +212,7 @@ recpy_bt_insn_sal (PyObject *self, void *closure) { result = symtab_and_line_to_sal_object (find_pc_line (insn->pc, 0)); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDB_PY_HANDLE_EXCEPTION (except); } @@ -283,7 +283,7 @@ recpy_bt_insn_data (PyObject *self, void *closure) buffer.resize (insn->size); read_memory (insn->pc, buffer.data (), insn->size); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDB_PY_HANDLE_EXCEPTION (except); } @@ -318,7 +318,7 @@ recpy_bt_insn_decoded (PyObject *self, void *closure) { gdb_print_insn (target_gdbarch (), insn->pc, &strfile, NULL); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { gdbpy_convert_exception (except); return NULL; @@ -795,7 +795,7 @@ recpy_bt_goto (PyObject *self, PyObject *args) else target_goto_record (obj->number); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDB_PY_HANDLE_EXCEPTION (except); } |