From: Roland McGrath Date: Wed, 8 Jun 2005 18:06:22 +0000 (+0000) Subject: 2005-05-12 Philippe De Muyter X-Git-Tag: v4.5.18~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84fa923c15aa537b666d26694549091e9b9a5ddb;p=strace 2005-05-12 Philippe De Muyter * util.c (getpc, printcall): Check #if defined(M68K), not M68k. Enables `-i' on m68k machines. --- diff --git a/util.c b/util.c index 3c070750..a5ade417 100644 --- 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) {