mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
hw: log stack pointer on x86 CPU exception
This commit is contained in:
parent
bd53e5b496
commit
600a5ecdaf
@ -69,7 +69,7 @@ void Pager_object::unresolved_page_fault_occurred()
|
||||
Platform_thread * const pt = (Platform_thread *)badge();
|
||||
if (pt && pt->pd())
|
||||
warning("page fault, pager_object: pd='", pt->pd()->label(),
|
||||
"' thread='", pt->label(), " ", pt->kernel_object()->fault());
|
||||
"' thread='", pt->label(), "' ", pt->kernel_object()->fault());
|
||||
}
|
||||
|
||||
void Pager_object::print(Output &out) const
|
||||
|
@ -46,6 +46,7 @@ void Thread::exception(Cpu & cpu)
|
||||
return;
|
||||
}
|
||||
Genode::warning(*this, ": triggered unknown exception ", regs->trapno,
|
||||
" with error code ", regs->errcode, " at ip=", (void*)regs->ip);
|
||||
" with error code ", regs->errcode, " at ip=", (void*)regs->ip, " sp=", (void*)regs->sp);
|
||||
|
||||
_die();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user