From 8c4f18f6f5e5dd9ccc4ef54590a11d70ba001264 Mon Sep 17 00:00:00 2001 From: Michael Adler Date: Wed, 23 Jul 2008 14:41:33 -0700 Subject: RemoteGDB: add an m5 command line option for setting or disabling remote gdb. --- src/sim/debug.hh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sim/debug.hh') diff --git a/src/sim/debug.hh b/src/sim/debug.hh index 79792234b..937864e69 100644 --- a/src/sim/debug.hh +++ b/src/sim/debug.hh @@ -31,6 +31,13 @@ #ifndef __DEBUG_HH__ #define __DEBUG_HH__ +#include "sim/host.hh" + +void schedBreakCycle(Tick when); void debug_break(); +int getRemoteGDBPort(); +// Remote gdb base port. 0 disables remote gdb. +void setRemoteGDBPort(int port); + #endif // __DEBUG_HH__ -- cgit v1.2.3