summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>2008-05-29 12:15:29 +0530
committerAnanth N Mavinakayanahalli <ananth@in.ibm.com>2008-05-29 12:15:29 +0530
commitef63732e82dd7979dcf608ba6ed4528e150b47ac (patch)
tree49d5af2d9d708efe01d4068c6bf0ba75249dbe3e /runtime
parent38fd9c0aede86d99834dcc693370255652230a75 (diff)
downloadsystemtap-steved-ef63732e82dd7979dcf608ba6ed4528e150b47ac.tar.gz
systemtap-steved-ef63732e82dd7979dcf608ba6ed4528e150b47ac.tar.xz
systemtap-steved-ef63732e82dd7979dcf608ba6ed4528e150b47ac.zip
Fix powerpc dwarfless argument access
Diffstat (limited to 'runtime')
-rw-r--r--runtime/regs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/regs.c b/runtime/regs.c
index 5821f7e7..81b865b1 100644
--- a/runtime/regs.c
+++ b/runtime/regs.c
@@ -256,6 +256,13 @@ void _stp_print_regs(struct pt_regs * regs)
#elif defined (__powerpc64__)
+static int _stp_probing_32bit_app(struct pt_regs *regs)
+{
+ if (!regs)
+ return 0;
+ return (user_mode(regs) && test_tsk_thread_flag(current, TIF_32BIT));
+}
+
void _stp_print_regs(struct pt_regs * regs)
{
int i;