else if (gdbarch_insn_is_jump (gdbarch, pc))
iclass = BTRACE_INSN_JUMP;
}
- catch (const gdb_exception_RETURN_MASK_ERROR &error)
+ catch (const gdb_exception_error &error)
{
}
{
size = gdb_insn_length (gdbarch, pc);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &error)
+ catch (const gdb_exception_error &error)
{
}
if (errcode != 0)
result = -pte_nomap;
}
- catch (const gdb_exception_RETURN_MASK_ERROR &error)
+ catch (const gdb_exception_error &error)
{
result = -pte_nomap;
}
ftrace_add_pt (btinfo, decoder, &level, gaps);
}
- catch (const gdb_exception_RETURN_MASK_ALL &error)
+ catch (const gdb_exception &error)
{
/* Indicate a gap in the trace if we quit trace processing. */
if (error.reason == RETURN_QUIT && !btinfo->functions.empty ())
btrace_finalize_ftrace_pt (decoder, tp, level);
- throw_exception (error);
+ throw;
}
btrace_finalize_ftrace_pt (decoder, tp, level);
{
btrace_compute_ftrace_1 (tp, btrace, cpu, gaps);
}
- catch (const gdb_exception_RETURN_MASK_ALL &error)
+ catch (const gdb_exception &error)
{
btrace_finalize_ftrace (tp, gaps);
- throw_exception (error);
+ throw;
}
btrace_finalize_ftrace (tp, gaps);
&& can_access_registers_thread (tp))
btrace_add_pc (tp);
}
- catch (const gdb_exception_RETURN_MASK_ALL &exception)
+ catch (const gdb_exception &exception)
{
btrace_disable (tp);
- throw_exception (exception);
+ throw;
}
}
{
btrace_maint_decode_pt (&btinfo->maint, decoder);
}
- catch (const gdb_exception_RETURN_MASK_ALL &except)
+ catch (const gdb_exception &except)
{
pt_pkt_free_decoder (decoder);
if (except.reason < 0)
- throw_exception (except);
+ throw;
}
pt_pkt_free_decoder (decoder);