diff --git a/repos/base-hw/src/core/spec/x86/kernel/thread.cc b/repos/base-hw/src/core/spec/x86/kernel/thread.cc index 528eca0974..7656a376d4 100644 --- a/repos/base-hw/src/core/spec/x86/kernel/thread.cc +++ b/repos/base-hw/src/core/spec/x86/kernel/thread.cc @@ -35,6 +35,11 @@ void Thread::exception(unsigned const cpu) PWRN("%s -> %s: FPU error", pd_label(), label()); _stop(); return; + case UNDEFINED_INSTRUCTION: + PWRN("%s -> %s: undefined instruction at ip=%p", + pd_label(), label(), (void*)ip); + _stop(); + return; case SUPERVISOR_CALL: _call(); return;