diff options
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 52a08daa3b9..7623aacc8d1 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -969,13 +969,12 @@ gdbarch_skip_prologue_noexcept (gdbarch *gdbarch, CORE_ADDR pc) noexcept { CORE_ADDR new_pc = pc; - TRY + try { new_pc = gdbarch_skip_prologue (gdbarch, pc); } - CATCH (ex, RETURN_MASK_ALL) + catch (const gdb_exception_RETURN_MASK_ALL &ex) {} - END_CATCH return new_pc; } |