gem5
v20.1.0.0
|
#include "sim/debug.hh"
#include <string>
#include <vector>
#include "base/debug.hh"
#include "cpu/pc_event.hh"
#include "sim/eventq.hh"
#include "sim/global_event.hh"
#include "sim/kernel_workload.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
#include "sim/system.hh"
Go to the source code of this file.
Classes | |
struct | DebugBreakEvent |
Functions | |
void | schedBreak (Tick when) |
Cause the simulator to execute a breakpoint. More... | |
void | schedRelBreak (Tick delta) |
Cause the simulator to execute a breakpoint relative to the current tick. More... | |
void | takeCheckpoint (Tick when) |
Function to cause the simulator to take a checkpoint from the debugger. More... | |
void | eventqDump () |
Dump all the events currently on the event queue. More... | |
int | getRemoteGDBPort () |
void | setRemoteGDBPort (int port) |
Variables | |
int | remote_gdb_base_port = 7000 |
void eventqDump | ( | ) |
Dump all the events currently on the event queue.
Definition at line 109 of file debug.cc.
References ArmISA::i, mainEventQueue, and numMainEventQueues.
int getRemoteGDBPort | ( | ) |
Definition at line 119 of file debug.cc.
References remote_gdb_base_port.
Referenced by System::Threads::insert().
void schedBreak | ( | Tick | when | ) |
Cause the simulator to execute a breakpoint.
when | the tick to break |
Definition at line 85 of file debug.cc.
References warn.
Referenced by pybind_init_debug(), and schedRelBreak().
void schedRelBreak | ( | Tick | delta | ) |
Cause the simulator to execute a breakpoint relative to the current tick.
delta | the number of ticks to execute until breaking |
Definition at line 92 of file debug.cc.
References curTick(), and schedBreak().
Referenced by RiscvISA::BreakpointFault::invokeSE().
void setRemoteGDBPort | ( | int | port | ) |
Definition at line 127 of file debug.cc.
References remote_gdb_base_port.
Referenced by pybind_init_debug().
void takeCheckpoint | ( | Tick | when | ) |
Function to cause the simulator to take a checkpoint from the debugger.
Cause the simulator to return to python to create a checkpoint.
Definition at line 101 of file debug.cc.
References curTick(), and exitSimLoop().
int remote_gdb_base_port = 7000 |
Definition at line 116 of file debug.cc.
Referenced by getRemoteGDBPort(), and setRemoteGDBPort().