]> granicus.if.org Git - strace/commitdiff
Simple bug fix for x86_86
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 5 Feb 2013 17:18:07 +0000 (18:18 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 5 Feb 2013 17:18:07 +0000 (18:18 +0100)
* syscall.c (printcall): Use x86_64_regs.rip, not x86_64_regs.ip.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
syscall.c

index cd3647d0f5518fe391334c8762b004b55500bbe1..d9f7b3b7229fa308e5fdcd6be426aec47d4f5e03 100644 (file)
--- 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;