Xcode 5 fixing, part 1.

Need someone on xcode 4.x to confirm this works.

Once this file gets fixed, the others will be removed.
This commit is contained in:
Jason Felds
2013-11-04 19:45:23 -05:00
parent 4298f2542d
commit bfab952b6a
7 changed files with 13 additions and 21 deletions
+3 -3
View File
@@ -461,9 +461,9 @@ void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc )
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->bp = (void *) uc->uc_mcontext->__ss.__ebp;
ctx->sp = (void *) uc->uc_mcontext->__ss.__esp;
ctx->ip = (void *) uc->uc_mcontext->__ss.__rip;
ctx->bp = (void *) uc->uc_mcontext->__ss.__rbp;
ctx->sp = (void *) uc->uc_mcontext->__ss.__rsp;
#endif
}