1
1

Need to use the right state variable when debugging 64 bit applicatiosn

This commit was SVN r14015.
Этот коммит содержится в:
Brian Barrett 2007-03-12 18:57:58 +00:00
родитель dbb8b8e315
Коммит 4e72a8b652

Просмотреть файл

@ -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 */