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:
parent
544148bc24
commit
96a3eabe16
|
@ -42,7 +42,8 @@ void Thread::exception(unsigned const cpu)
|
||||||
_interrupt(cpu);
|
_interrupt(cpu);
|
||||||
return;
|
return;
|
||||||
} else {
|
} 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();
|
_stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue