From 0ce4d3e9425f5c6d78dbd3a82a06aa1e2b45377c Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 15 Jul 2020 17:31:40 +0200 Subject: [PATCH] UserspaceEmulator: Dump backtrace on FPU instruction --- DevTools/UserspaceEmulator/SoftCPU.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/DevTools/UserspaceEmulator/SoftCPU.cpp b/DevTools/UserspaceEmulator/SoftCPU.cpp index f1bf36cf7c..2bc336821b 100644 --- a/DevTools/UserspaceEmulator/SoftCPU.cpp +++ b/DevTools/UserspaceEmulator/SoftCPU.cpp @@ -910,7 +910,14 @@ void SoftCPU::DIV_RM32(const X86::Instruction& insn) void SoftCPU::DIV_RM8(const X86::Instruction&) { TODO(); } void SoftCPU::ENTER16(const X86::Instruction&) { TODO(); } void SoftCPU::ENTER32(const X86::Instruction&) { TODO(); } -void SoftCPU::ESCAPE(const X86::Instruction&) { TODO(); } + +void SoftCPU::ESCAPE(const X86::Instruction&) +{ + dbg() << "FIXME: x87 floating-point support"; + m_emulator.dump_backtrace(); + TODO(); +} + void SoftCPU::HLT(const X86::Instruction&) { TODO(); } void SoftCPU::IDIV_RM16(const X86::Instruction&) { TODO(); }