From 4e72a8b652f65f7310ae2ee1f68b318ee598fb7f Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Mon, 12 Mar 2007 18:57:58 +0000 Subject: [PATCH] Need to use the right state variable when debugging 64 bit applicatiosn This commit was SVN r14015. --- .../darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opal/mca/backtrace/darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.c b/opal/mca/backtrace/darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.c index b979fd8ac2..e2df0c84b9 100644 --- a/opal/mca/backtrace/darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.c +++ b/opal/mca/backtrace/darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.c @@ -1696,8 +1696,8 @@ extern int MoreBacktraceMachThread( asm("\tmflr %0\n" \ "\tmr %1,r1" \ : "=r"(tmpPC), "=r"(tmpFP)); \ - ((ppc_thread_state_t *) threadState)->srr0 = tmpPC; \ - ((ppc_thread_state_t *) threadState)->r1 = tmpFP; \ + ((ppc_thread_state64_t *) threadState)->srr0 = tmpPC; \ + ((ppc_thread_state64_t *) threadState)->r1 = tmpFP; \ } while (0) #endif /* OMPI CHANGE */