diff options
Diffstat (limited to 'runtime/stack-x86_64.c')
-rw-r--r-- | runtime/stack-x86_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/stack-x86_64.c b/runtime/stack-x86_64.c index b8875edb..15bac801 100644 --- a/runtime/stack-x86_64.c +++ b/runtime/stack-x86_64.c @@ -30,7 +30,7 @@ static int _stp_show_trace_unwind(struct unwind_frame_info *info, int verbose) _stp_symbol_print (UNW_PC(info)); _stp_print_char('\n'); } else - _stp_printf ("%p ", UNW_PC(info)); + _stp_printf ("0x%016lx ", UNW_PC(info)); if (arch_unw_user_mode(info)) break; } @@ -66,7 +66,7 @@ static void __stp_stack_print (struct pt_regs *regs, int verbose, int levels) _stp_symbol_print(addr); _stp_print_char('\n'); } else - _stp_printf("%p ", (void *)addr); + _stp_printf("0x%016lx ", addr); } } } |