hw_x86_64: Log ip on unknown exception

This commit is contained in:
Adrian-Ken Rueegsegger 2015-04-21 23:06:36 +02:00 committed by Christian Helmuth
parent 4d700fe2ae
commit fdbb073414

View File

@ -48,8 +48,8 @@ void Thread::exception(unsigned const cpu)
_interrupt(cpu);
return;
}
PWRN("%s -> %s: triggered unknown exception %lu with error code %lu",
pd_label(), label(), trapno, errcode);
PWRN("%s -> %s: triggered unknown exception %lu with error code %lu"
" at ip=%p", pd_label(), label(), trapno, errcode, (void*)ip);
_stop();
}