gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
debug.hh File Reference
#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)
 

Function Documentation

void breakAtKernelFunction ( const char *  funcName)

Cause the simulator to execute a breakpoint when the given kernel function is reached.

Parameters
funcNamethe 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.

Parameters
whenthe 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.

Parameters
deltathe 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.

Parameters
whenthe 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().


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6