backtrace: attempt to recover from lost frame pointers

This commit is contained in:
Glenn Maynard
2004-03-21 03:36:54 +00:00
parent ce2a0226a4
commit dfec26c3b2
3 changed files with 144 additions and 27 deletions
@@ -178,6 +178,7 @@ bool GetThreadBacktraceContext( int ThreadID, BacktraceContext *ctx )
ctx->pid = ThreadID;
ctx->eip = (void *) regs.eip;
ctx->ebp = (void *) regs.ebp;
ctx->esp = (void *) regs.esp;
return true;
}