]> granicus.if.org Git - strace/commitdiff
2005-05-12 Philippe De Muyter <phdm@macqel.be>
authorRoland McGrath <roland@redhat.com>
Wed, 8 Jun 2005 18:06:22 +0000 (18:06 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 8 Jun 2005 18:06:22 +0000 (18:06 +0000)
* util.c (getpc, printcall): Check #if defined(M68K), not M68k.
Enables `-i' on m68k machines.

util.c

diff --git a/util.c b/util.c
index 3c070750abc0ddbfbff6909f15d7b565de281812..a5ade4178c7d04f9286a5de2c57687ce90d1dc36 100644 (file)
--- a/util.c
+++ b/util.c
@@ -998,7 +998,7 @@ struct tcb *tcp;
 #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 @@ struct tcb *tcp;
                return;
        }
        tprintf("[%08lx] ", pc);
-#elif defined(M68k)
+#elif defined(M68K)
        long pc;
 
        if (upeek(tcp->pid, 4*PT_PC, &pc) < 0) {