sim: Add an option to forward work items to Python
[gem5.git] / src / sim / debug.hh
index c29251a1e9701e03c370895b75d12e4f2397dfb8..8587325e10cad6b42b5887700a1f6dfe701b9229 100644 (file)
  */
 void schedBreak(Tick when);
 
+/**
+ * Cause the simulator to execute a breakpoint
+ * relative to the current tick.
+ * @param delta the number of ticks to execute until breaking
+ */
+void schedRelBreak(Tick delta);
+
+/**
+ * Cause the simulator to execute a breakpoint when
+ * the given kernel function is reached
+ * @param funcName the name of the kernel function at which to break
+ */
+void breakAtKernelFunction(const char* funcName);
+
 /** Cause the simulator to return to python to create a checkpoint
  * @param when the cycle to break
  */
@@ -53,8 +67,6 @@ void takeCheckpoint(Tick when);
  */
 void eventqDump();
 
-void py_interact();
-
 int getRemoteGDBPort();
 // Remote gdb base port.  0 disables remote gdb.
 void setRemoteGDBPort(int port);