mem: Make the XBar responsible for tracking response routing
[gem5.git] / src / sim / debug.hh
index 7dafb8394943e716002d2aef95c2dd88c8fb9642..fc9f0f55eeb0fb007c8863b180afa25469f39060 100644 (file)
 #ifndef __SIM_DEBUG_HH__
 #define __SIM_DEBUG_HH__
 
-#include "sim/host.hh"
+#include "base/types.hh"
 
-void schedBreakCycle(Tick when);
+/** @file This file provides the definitions for some useful debugging
+ * functions. These are intended to be called from a debugger such as
+ * gdb.
+ */
+
+
+/** Cause the simulator to execute a breakpoint
+ * @param when the tick to break
+ */
+void schedBreak(Tick when);
+
+/** Cause the simulator to return to python to create a checkpoint
+ * @param when the cycle to break
+ */
+void takeCheckpoint(Tick when);
+
+/** Dump all the events currently on the event queue
+ */
+void eventqDump();
 
 int getRemoteGDBPort();
 // Remote gdb base port.  0 disables remote gdb.