#include "infrun.h"
#include "event-loop.h"
#include "inf-loop.h"
-#include "common/vec.h"
+#include "gdbsupport/vec.h"
#include "inferior.h"
#include <algorithm>
{
btrace_enable (tp, &record_btrace_conf);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &error)
+ catch (const gdb_exception_error &error)
{
warning ("%s", error.what ());
}
{
ret = this->beneath ()->insert_breakpoint (gdbarch, bp_tgt);
}
- catch (const gdb_exception_RETURN_MASK_ALL &except)
+ catch (const gdb_exception &except)
{
replay_memory_access = old;
- throw_exception (except);
+ throw;
}
replay_memory_access = old;
{
ret = this->beneath ()->remove_breakpoint (gdbarch, bp_tgt, reason);
}
- catch (const gdb_exception_RETURN_MASK_ALL &except)
+ catch (const gdb_exception &except)
{
replay_memory_access = old;
- throw_exception (except);
+ throw;
}
replay_memory_access = old;
{
id = get_frame_id (get_current_frame ());
}
- catch (const gdb_exception_RETURN_MASK_ALL &except)
+ catch (const gdb_exception &except)
{
/* Restore the previous execution state. */
set_executing (inferior_ptid, executing);
- throw_exception (except);
+ throw;
}
/* Restore the previous execution state. */
if (upd_step_stack_frame_id)
tp->control.step_stack_frame_id = frame_id;
}
- catch (const gdb_exception_RETURN_MASK_ALL &except)
+ catch (const gdb_exception &except)
{
xfree (btinfo->replay);
btinfo->replay = NULL;
registers_changed_thread (tp);
- throw_exception (except);
+ throw;
}
return replay;
{
execute_command ("target record-btrace", from_tty);
}
- catch (const gdb_exception_RETURN_MASK_ALL &exception)
+ catch (const gdb_exception &exception)
{
record_btrace_conf.format = BTRACE_FORMAT_NONE;
- throw_exception (exception);
+ throw;
}
}
{
execute_command ("target record-btrace", from_tty);
}
- catch (const gdb_exception_RETURN_MASK_ALL &exception)
+ catch (const gdb_exception &exception)
{
record_btrace_conf.format = BTRACE_FORMAT_NONE;
- throw_exception (exception);
+ throw;
}
}
{
execute_command ("target record-btrace", from_tty);
}
- catch (const gdb_exception_RETURN_MASK_ALL &exception)
+ catch (const gdb_exception &exception)
{
record_btrace_conf.format = BTRACE_FORMAT_BTS;
{
execute_command ("target record-btrace", from_tty);
}
- catch (const gdb_exception_RETURN_MASK_ALL &ex)
+ catch (const gdb_exception &ex)
{
record_btrace_conf.format = BTRACE_FORMAT_NONE;
- throw_exception (ex);
+ throw;
}
}
}