[tiger] Universal binaries work.
Thanks to the #gcc channel in getting GCC 4.2 to work.
This commit is contained in:
@@ -635,8 +635,13 @@ struct Frame
|
||||
|
||||
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc )
|
||||
{
|
||||
#if defined(__ppc__)
|
||||
ctx->PC = (const void *) uc->uc_mcontext->__ss.__srr0;
|
||||
ctx->FramePtr = (const Frame *) uc->uc_mcontext->__ss.__r1;
|
||||
#else
|
||||
ctx->PC = (const void *) uc->uc_mcontext->ss.srr0;
|
||||
ctx->FramePtr = (const Frame *) uc->uc_mcontext->ss.r1;
|
||||
#endif
|
||||
}
|
||||
|
||||
void InitializeBacktrace() { }
|
||||
|
||||
Reference in New Issue
Block a user