diff options
Diffstat (limited to 'gdb/riscv-tdep.c')
-rw-r--r-- | gdb/riscv-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 3cd9ba4..bd09ae6 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -656,7 +656,7 @@ riscv_print_one_register_info (struct gdbarch *gdbarch, val = value_of_register (regnum, frame); regtype = value_type (val); } - catch (const gdb_exception_RETURN_MASK_ERROR &ex) + catch (const gdb_exception_error &ex) { /* Handle failure to read a register without interrupting the entire 'info registers' flow. */ @@ -2806,7 +2806,7 @@ riscv_frame_this_id (struct frame_info *this_frame, cache = riscv_frame_cache (this_frame, prologue_cache); *this_id = cache->this_id; } - catch (const gdb_exception_RETURN_MASK_ERROR &ex) + catch (const gdb_exception_error &ex) { /* Ignore errors, this leaves the frame id as the predefined outer frame id which terminates the backtrace at this point. */ |