From: Denys Vlasenko Date: Tue, 5 Feb 2013 17:18:07 +0000 (+0100) Subject: Simple bug fix for x86_86 X-Git-Tag: v4.8~196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df39e56d2d53013813a529862da6321222605f58;p=strace Simple bug fix for x86_86 * syscall.c (printcall): Use x86_64_regs.rip, not x86_64_regs.ip. Signed-off-by: Denys Vlasenko --- diff --git a/syscall.c b/syscall.c index cd3647d0..d9f7b3b7 100644 --- a/syscall.c +++ b/syscall.c @@ -741,7 +741,7 @@ printcall(struct tcb *tcp) tprintf("[%16lx] ", psw); # endif #elif defined(X86_64) || defined(X32) - tprintf("[%16lx] ", x86_64_regs.ip); + tprintf("[%16lx] ", x86_64_regs.rip); #elif defined(IA64) long ip;