From: Dmitry V. Levin Date: Tue, 5 Feb 2013 19:01:58 +0000 (+0000) Subject: Print 64-bit instruction pointers zero padded X-Git-Tag: v4.8~194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ddba73e4c01e8867886d56c508af2c33cc87dc49;p=strace Print 64-bit instruction pointers zero padded * syscall.c (printcall): Print 64-bit instruction pointers zero padded. --- diff --git a/syscall.c b/syscall.c index 9d025741..3851c9dc 100644 --- a/syscall.c +++ b/syscall.c @@ -738,10 +738,10 @@ printcall(struct tcb *tcp) # ifdef S390 tprintf("[%08lx] ", psw); # elif S390X - tprintf("[%16lx] ", psw); + tprintf("[%016lx] ", psw); # endif #elif defined(X86_64) || defined(X32) - tprintf("[%16lx] ", (unsigned long) x86_64_regs.rip); + tprintf("[%016lx] ", (unsigned long) x86_64_regs.rip); #elif defined(IA64) long ip; @@ -845,7 +845,7 @@ printcall(struct tcb *tcp) tprintf("[%08lx] ", pc); #elif defined(TILE) # ifdef _LP64 - tprintf("[%16lx] ", tile_regs.pc); + tprintf("[%016lx] ", tile_regs.pc); # else tprintf("[%08lx] ", tile_regs.pc); # endif