mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Update crash handler to include exception address and symbol in trace output
This commit is contained in:
parent
fa6779b8c7
commit
edd7e3bbc2
@ -844,7 +844,7 @@ namespace CrashHandler
|
||||
SafeFunction inline bool Handle_x86_64(CHArchTrapFrame *Frame)
|
||||
{
|
||||
#ifdef a64
|
||||
trace("Exception at %s",
|
||||
trace("Exception at %#lx(%s)", Frame->rip,
|
||||
KernelSymbolTable
|
||||
? KernelSymbolTable->GetSymbol(Frame->rip)
|
||||
: "No symbol");
|
||||
@ -942,7 +942,7 @@ namespace CrashHandler
|
||||
SafeFunction inline bool Handle_x86_32(CHArchTrapFrame *Frame)
|
||||
{
|
||||
#ifdef a32
|
||||
trace("Exception at %s",
|
||||
trace("Exception at %#lx(%s)", Frame->eip,
|
||||
KernelSymbolTable
|
||||
? KernelSymbolTable->GetSymbol(Frame->eip)
|
||||
: "No symbol");
|
||||
|
Loading…
x
Reference in New Issue
Block a user