blob: b4ab3a0b87aedb2199fe215bb10de3717db89d46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
$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 <iostream.h>
+#include <iostream>
#include <sys/stat.h>
#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();
|