summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-21 18:50:14 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-21 19:08:01 +0200
commit5c29f4e32612740cdc67537ae5c4ac620f22ac36 (patch)
treefb094e5d8f3471bce34f1959e0f924c77915bd60
parent0f91dfa1390806a4d0d907b19f575d801e5a5a84 (diff)
downloadserenity-5c29f4e32612740cdc67537ae5c4ac620f22ac36.zip
UserspaceEmulator: Add a newline before uninitialized op warnings
-rw-r--r--DevTools/UserspaceEmulator/SoftCPU.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/DevTools/UserspaceEmulator/SoftCPU.cpp b/DevTools/UserspaceEmulator/SoftCPU.cpp
index 82b2bf1f44..4f9715452c 100644
--- a/DevTools/UserspaceEmulator/SoftCPU.cpp
+++ b/DevTools/UserspaceEmulator/SoftCPU.cpp
@@ -61,6 +61,7 @@ void warn_if_uninitialized(T value_with_shadow, const char* message)
void SoftCPU::warn_if_flags_tainted(const char* message) const
{
if (m_flags_tainted) {
+ dbgprintf("\n");
dbgprintf("==%d== \033[31;1mConditional instruction depends on uninitialized data (%s)\033[0m\n", getpid(), message);
Emulator::the().dump_backtrace();
}