Kernel/x86 - Added backtrace to running program in thread dump
authorJohn Hodge <[email protected]>
Sat, 27 Jul 2013 15:32:39 +0000 (23:32 +0800)
committerJohn Hodge <[email protected]>
Sat, 27 Jul 2013 15:32:39 +0000 (23:32 +0800)
KernelLand/Kernel/arch/x86/proc.c

index 2c59516..3119ada 100644 (file)
@@ -715,6 +715,7 @@ void Proc_DumpThreadCPUState(tThread *Thread)
                }
                
                Log("  at %04x:%08x [EAX:%x]", regs->cs, regs->eip, regs->eax);
+               Error_Backtrace(regs->eip, regs->ebp);
                return ;
        }
        

UCC git Repository :: git.ucc.asn.au