gem5
|
#include "base/types.hh"
Go to the source code of this file.
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 | breakAtKernelFunction (const char *funcName) |
Cause the simulator to execute a breakpoint when the given kernel function is reached. More... | |
void | takeCheckpoint (Tick when) |
Cause the simulator to return to python to create a checkpoint. More... | |
void | eventqDump () |
Dump all the events currently on the event queue. More... | |
int | getRemoteGDBPort () |
void | setRemoteGDBPort (int port) |
void breakAtKernelFunction | ( | const char * | funcName | ) |
Cause the simulator to execute a breakpoint when the given kernel function is reached.
funcName | the name of the kernel function at which to break |
Definition at line 100 of file debug.cc.
References System::addKernelFuncEvent(), and System::systemList.
void eventqDump | ( | ) |
Dump all the events currently on the event queue.
Definition at line 119 of file debug.cc.
References ArmISA::i, mainEventQueue, and numMainEventQueues.
int getRemoteGDBPort | ( | ) |
Definition at line 129 of file debug.cc.
References remote_gdb_base_port.
Referenced by System::registerThreadContext().
void schedBreak | ( | Tick | when | ) |
Cause the simulator to execute a breakpoint.
when | the tick to break |
Definition at line 87 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 94 of file debug.cc.
References curTick(), and schedBreak().
Referenced by RiscvISA::BreakpointFault::invoke_se().
void setRemoteGDBPort | ( | int | port | ) |
Definition at line 137 of file debug.cc.
References remote_gdb_base_port.
Referenced by pybind_init_debug().
void takeCheckpoint | ( | Tick | when | ) |
Cause the simulator to return to python to create a checkpoint.
when | the cycle to break |
Cause the simulator to return to python to create a checkpoint.
Definition at line 111 of file debug.cc.
References curTick(), and exitSimLoop().