summaryrefslogtreecommitdiffstats
path: root/runtime/stack-s390.c
diff options
context:
space:
mode:
authorhunt <hunt>2007-05-16 01:56:12 +0000
committerhunt <hunt>2007-05-16 01:56:12 +0000
commit4f295b51c85ada0efca7594604ada44853ac32d5 (patch)
treea742fc02095a3eb655d6caa0f612790e72dbd6eb /runtime/stack-s390.c
parent3c3dbd3bc57a1db3972ee9ebbf15d95402375146 (diff)
downloadsystemtap-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-s390.c')
-rw-r--r--runtime/stack-s390.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/stack-s390.c b/runtime/stack-s390.c
index fcf634ed..c9654102 100644
--- a/runtime/stack-s390.c
+++ b/runtime/stack-s390.c
@@ -24,11 +24,11 @@ __stp_show_stack (unsigned long sp, unsigned long low,
sf = (struct stack_frame *) sp;
ip = sf->gprs[8] & PSW_ADDR_INSN;
if (verbose) {
- _stp_printf("[%p] [%p] ", sp, ip);
+ _stp_printf("[%p] [%p] ", (int64_t)sp, (int64_t)ip);
_stp_symbol_print(ip);
_stp_print_char('\n');
}else{
- _stp_printf("%p ", ip);
+ _stp_printf("%p ", (int64_t)ip);
}
/* Follow the back_chain */
while (1) {
@@ -41,11 +41,11 @@ __stp_show_stack (unsigned long sp, unsigned long low,
sf = (struct stack_frame *) sp;
ip = sf->gprs[8] & PSW_ADDR_INSN;
if (verbose) {
- _stp_printf("[%p] [%p] ", sp, ip);
+ _stp_printf("[%p] [%p] ", (int64_t)sp, (int64_t)ip);
_stp_symbol_print(ip);
_stp_print_char('\n');
}else{
- _stp_printf("%p ", ip);
+ _stp_printf("%p ", (int64_t)ip);
}
}
/* Zero backchain detected, check for interrupt frame. */
@@ -54,11 +54,11 @@ __stp_show_stack (unsigned long sp, unsigned long low,
return sp;
regs = (struct pt_regs *) sp;
if (verbose) {
- _stp_printf("[%p] [%p] ", sp, ip);
+ _stp_printf("[%p] [%p] ", (int64_t)sp, (int64_t)ip);
_stp_symbol_print(ip);
_stp_print_char('\n');
}else{
- _stp_printf("%p ", ip);
+ _stp_printf("%p ", (int64_t)ip);
}
low = sp;
sp = regs->gprs[15];