From: John Hodge Date: Sat, 27 Jul 2013 15:32:39 +0000 (+0800) Subject: Kernel/x86 - Added backtrace to running program in thread dump X-Git-Tag: rel0.15~317 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d8976435eade14e409b01e58850b75990ad9a4a7;p=tpg%2Facess2.git Kernel/x86 - Added backtrace to running program in thread dump --- diff --git a/KernelLand/Kernel/arch/x86/proc.c b/KernelLand/Kernel/arch/x86/proc.c index 2c595168..3119ada1 100644 --- a/KernelLand/Kernel/arch/x86/proc.c +++ b/KernelLand/Kernel/arch/x86/proc.c @@ -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 ; }