From ddba73e4c01e8867886d56c508af2c33cc87dc49 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 5 Feb 2013 19:01:58 +0000 Subject: [PATCH] Print 64-bit instruction pointers zero padded * syscall.c (printcall): Print 64-bit instruction pointers zero padded. --- syscall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.50.1