Revert prev. fix for now.
This may have to be done all in one sitting.
This commit is contained in:
@@ -456,15 +456,9 @@ void InitializeBacktrace()
|
|||||||
|
|
||||||
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc )
|
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc )
|
||||||
{
|
{
|
||||||
#if !__DARWIN_03
|
|
||||||
ctx->ip = (void *) uc->uc_mcontext->__ss.__eip;
|
|
||||||
ctx->bp = (void *) uc->uc_mcontext->__ss.__ebp;
|
|
||||||
ctx->sp = (void *) uc->uc_mcontext->__ss.__esp;
|
|
||||||
#else
|
|
||||||
ctx->ip = (void *) uc->uc_mcontext->ss.eip;
|
ctx->ip = (void *) uc->uc_mcontext->ss.eip;
|
||||||
ctx->bp = (void *) uc->uc_mcontext->ss.ebp;
|
ctx->bp = (void *) uc->uc_mcontext->ss.ebp;
|
||||||
ctx->sp = (void *) uc->uc_mcontext->ss.esp;
|
ctx->sp = (void *) uc->uc_mcontext->ss.esp;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The following from VirtualDub: */
|
/* The following from VirtualDub: */
|
||||||
|
|||||||
Reference in New Issue
Block a user