From ef63732e82dd7979dcf608ba6ed4528e150b47ac Mon Sep 17 00:00:00 2001 From: Ananth N Mavinakayanahalli Date: Thu, 29 May 2008 12:15:29 +0530 Subject: Fix powerpc dwarfless argument access --- runtime/regs.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'runtime/regs.c') 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; -- cgit