2005-05-12 Philippe De Muyter <phdm@macqel.be>
* util.c (getpc, printcall): Check #if defined(M68K), not M68k.
Enables `-i' on m68k machines.
diff --git a/util.c b/util.c
index 3c07075..a5ade41 100644
--- a/util.c
+++ b/util.c
@@ -998,7 +998,7 @@
#elif defined(POWERPC)
if (upeek(tcp->pid, sizeof(unsigned long)*PT_NIP, &pc) < 0)
return -1;
-#elif defined(M68k)
+#elif defined(M68K)
if (upeek(tcp->pid, 4*PT_PC, &pc) < 0)
return -1;
#elif defined(ALPHA)
@@ -1108,7 +1108,7 @@
return;
}
tprintf("[%08lx] ", pc);
-#elif defined(M68k)
+#elif defined(M68K)
long pc;
if (upeek(tcp->pid, 4*PT_PC, &pc) < 0) {