summaryrefslogtreecommitdiff
path: root/src/sim/debug.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/debug.hh')
-rw-r--r--src/sim/debug.hh14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/sim/debug.hh b/src/sim/debug.hh
index 79792234b..7dafb8394 100644
--- a/src/sim/debug.hh
+++ b/src/sim/debug.hh
@@ -28,9 +28,15 @@
* Authors: Nathan Binkert
*/
-#ifndef __DEBUG_HH__
-#define __DEBUG_HH__
+#ifndef __SIM_DEBUG_HH__
+#define __SIM_DEBUG_HH__
-void debug_break();
+#include "sim/host.hh"
-#endif // __DEBUG_HH__
+void schedBreakCycle(Tick when);
+
+int getRemoteGDBPort();
+// Remote gdb base port. 0 disables remote gdb.
+void setRemoteGDBPort(int port);
+
+#endif // __SIM_DEBUG_HH__