diff options
author | hunt <hunt> | 2007-05-16 01:56:12 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-05-16 01:56:12 +0000 |
commit | 4f295b51c85ada0efca7594604ada44853ac32d5 (patch) | |
tree | a742fc02095a3eb655d6caa0f612790e72dbd6eb /runtime/stack-i386.c | |
parent | 3c3dbd3bc57a1db3972ee9ebbf15d95402375146 (diff) | |
download | systemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.tar.gz systemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.tar.xz systemtap-steved-4f295b51c85ada0efca7594604ada44853ac32d5.zip |
2007-05-15 Martin Hunt <hunt@redhat.com>
* vsprintf.c: Add comment about %p.
* regs.c, stack*.c, sym.c: Fix %p calls.
Diffstat (limited to 'runtime/stack-i386.c')
-rw-r--r-- | runtime/stack-i386.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/stack-i386.c b/runtime/stack-i386.c index d10a8cfe..161e22ee 100644 --- a/runtime/stack-i386.c +++ b/runtime/stack-i386.c @@ -31,7 +31,7 @@ _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%08lx ", UNW_PC(info)); if (arch_unw_user_mode(info)) break; } @@ -78,7 +78,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%08lx ", addr); ebp = *(unsigned long *)ebp; } } @@ -95,7 +95,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%08lx ", addr); } } #endif |