summaryrefslogtreecommitdiffstats
path: root/runtime/stack.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2008-03-28 17:01:40 -0400
committerMartin Hunt <hunt@redhat.com>2008-03-28 17:01:40 -0400
commit580f1a959f79fdd5534a5f2f8daeb415399f38ac (patch)
tree9a9376db87cc1e6a2410afebbef10cc7e2415915 /runtime/stack.c
parent614ead2b7dd8ac70cd89d018b09a397be7ade371 (diff)
downloadsystemtap-steved-580f1a959f79fdd5534a5f2f8daeb415399f38ac.tar.gz
systemtap-steved-580f1a959f79fdd5534a5f2f8daeb415399f38ac.tar.xz
systemtap-steved-580f1a959f79fdd5534a5f2f8daeb415399f38ac.zip
dded _stp_read_address() and changed code to use it.
Diffstat (limited to 'runtime/stack.c')
-rw-r--r--runtime/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack.c b/runtime/stack.c
index eefdf715..772c5baf 100644
--- a/runtime/stack.c
+++ b/runtime/stack.c
@@ -62,7 +62,7 @@ void _stp_stack_print(struct pt_regs *regs, int verbose, struct kretprobe_instan
}
_stp_print_char('\n');
} else if (pi)
- _stp_printf("%p %p ", (int64_t) _stp_ret_addr_r(pi), (int64_t) REG_IP(regs));
+ _stp_printf("%p %p ", (int64_t)(long)_stp_ret_addr_r(pi), (int64_t) REG_IP(regs));
else
_stp_printf("%p ", (int64_t) REG_IP(regs));