hw_x86_64: Log additional information on unknown exception

Provide more information in the log message when an unknown exception
occurs.
This commit is contained in:
Adrian-Ken Rueegsegger 2015-03-19 12:38:45 +01:00 committed by Christian Helmuth
parent 544148bc24
commit 96a3eabe16
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ void Thread::exception(unsigned const cpu)
_interrupt(cpu);
return;
} else {
PWRN("unknown exception 0x%lx", trapno);
PWRN("%s -> %s: triggered an unknown exception %lu with error code %lu",
pd_label(), label(), trapno, errcode);
_stop();
return;
}