debug: Move debug_break into src/base

This commit is contained in:
Nathan Binkert
2009-02-23 11:48:40 -08:00
parent e8c1c3e72e
commit 3fa9812e1d
10 changed files with 91 additions and 22 deletions

View File

@@ -28,16 +28,15 @@
* Authors: Nathan Binkert
*/
#ifndef __DEBUG_HH__
#define __DEBUG_HH__
#ifndef __SIM_DEBUG_HH__
#define __SIM_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__
#endif // __SIM_DEBUG_HH__