diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-21 18:50:14 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-21 19:08:01 +0200 |
commit | 5c29f4e32612740cdc67537ae5c4ac620f22ac36 (patch) | |
tree | fb094e5d8f3471bce34f1959e0f924c77915bd60 | |
parent | 0f91dfa1390806a4d0d907b19f575d801e5a5a84 (diff) | |
download | serenity-5c29f4e32612740cdc67537ae5c4ac620f22ac36.zip |
UserspaceEmulator: Add a newline before uninitialized op warnings
-rw-r--r-- | DevTools/UserspaceEmulator/SoftCPU.cpp | 1 |
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(); } |