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);
Two arguments with comma between specify starting and ending packets to \
print.\n\
Preceded with '+'/'-' the second argument specifies the distance from the \
-first.\n"),
+first."),
&maint_btrace_cmdlist);
add_cmd ("clear-packet-history", class_maintenance,
maint_btrace_clear_packet_history_cmd,
_("Clears the branch tracing packet history.\n\
-Discards the raw branch tracing data but not the execution history data.\n\
-"),
+Discards the raw branch tracing data but not the execution history data."),
&maint_btrace_cmdlist);
add_cmd ("clear", class_maintenance, maint_btrace_clear_cmd,
_("Clears the branch tracing data.\n\
Discards the raw branch tracing data and the execution history data.\n\
-The next 'record' command will fetch the branch tracing data anew.\n\
-"),
+The next 'record' command will fetch the branch tracing data anew."),
&maint_btrace_cmdlist);
}