summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator/Emulator.cpp
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2021-01-23 23:52:21 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-25 09:47:36 +0100
commitbb483f7ef4693582d34aa7a30fa2916fdcc8b6f4 (patch)
treef3c5fe1ff819534ffd94abea15170fbfc07d44a5 /Userland/DevTools/UserspaceEmulator/Emulator.cpp
parentacdcf59a333b0fe9a709ee53b2a82b26b346b747 (diff)
downloadserenity-bb483f7ef4693582d34aa7a30fa2916fdcc8b6f4.zip
Everywhere: Name debug macros more consistently.
Personally, I prefer the naming convention DEBUG_FOO over FOO_DEBUG, but the majority of the debug macros are already named in the latter naming convention, so I just enforce consistency here. This was done with the following script: find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/DEBUG_PATH/PATH_DEBUG/' {} \;
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/Emulator.cpp')
-rw-r--r--Userland/DevTools/UserspaceEmulator/Emulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator.cpp b/Userland/DevTools/UserspaceEmulator/Emulator.cpp
index f9f0a04eab..ef72f6d04a 100644
--- a/Userland/DevTools/UserspaceEmulator/Emulator.cpp
+++ b/Userland/DevTools/UserspaceEmulator/Emulator.cpp
@@ -343,7 +343,7 @@ void Emulator::dump_backtrace()
u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
{
-#if DEBUG_SPAM
+#if SPAM_DEBUG
reportln("Syscall: {} ({:x})", Syscall::to_string((Syscall::Function)function), function);
#endif
switch (function) {