From fe7036d8f4ce8eaa93492317dddaece4b0d92f40 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 16 Nov 2020 08:38:37 +0100 Subject: [PATCH] UserspaceEmulator: Improve error text on jump to non-executable memory The memory is non-executable, not non-readable. :^) --- DevTools/UserspaceEmulator/SoftCPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevTools/UserspaceEmulator/SoftCPU.cpp b/DevTools/UserspaceEmulator/SoftCPU.cpp index 8d75530145..3b050c212f 100644 --- a/DevTools/UserspaceEmulator/SoftCPU.cpp +++ b/DevTools/UserspaceEmulator/SoftCPU.cpp @@ -135,7 +135,7 @@ void SoftCPU::update_code_cache() ASSERT(region); if (!region->is_executable()) { - reportln("SoftCPU::update_code_cache: Non-readable region @ {:p}", eip()); + reportln("SoftCPU::update_code_cache: Non-executable region @ {:p}", eip()); Emulator::the().dump_backtrace(); TODO(); }