This commit is contained in:
Glenn Maynard
2004-06-16 02:58:58 +00:00
parent 9911c10540
commit 3a56c870ba
@@ -189,10 +189,12 @@ bool GetThreadBacktraceContext( int ThreadID, BacktraceContext *ctx )
ctx->eip = (void *) regs.rip;
ctx->ebp = (void *) regs.rbp;
ctx->esp = (void *) regs.rsp;
#else
#elif defined(CPU_X86)
ctx->eip = (void *) regs.eip;
ctx->ebp = (void *) regs.ebp;
ctx->esp = (void *) regs.esp;
#else
#error GetThreadBacktraceContext: which arch?
#endif
return true;