$NetBSD: patch-af,v 1.1 2004/08/12 19:59:51 agc Exp $ --- main.cpp 2004/08/12 18:28:49 1.1 +++ main.cpp 2004/08/12 18:29:57 @@ -34,11 +34,13 @@ #endif #include "cache.h" #include "direct.h" -#include +#include #include #include "libc.h" #include "syscopro.h" +using namespace std; + #define FAST_CYCLE 1 #define SLOW_CYCLE 4 @@ -491,15 +493,18 @@ } DebuggerRepeatCount--; } -#endif DEBUGGER +#endif /* DEBUGGER */ // Do we need to do anything with the bus? if (pinout.benable == 1) { // Quick sanity check if (pinout.address >= MEMORY_SIZE) { - cerr.form("SWARM failing: Bad address - 0x%08X\n", - pinout.address); + cerr << "SWARM failing: Bad address - 0x"; + cerr << hex << pinout.address; + cerr << "\n"; + + cerr << dec; pArm->DebugDump();