From 2b3b83801bd70debc8bde4068fecd64aee8160b5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 7 Aug 2020 16:22:51 +0200 Subject: [PATCH] UserspaceEmulator: Make the "unimplemented syscall" output look nicer --- DevTools/UserspaceEmulator/Emulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevTools/UserspaceEmulator/Emulator.cpp b/DevTools/UserspaceEmulator/Emulator.cpp index a506030d79c..42e2c5a9da8 100644 --- a/DevTools/UserspaceEmulator/Emulator.cpp +++ b/DevTools/UserspaceEmulator/Emulator.cpp @@ -383,7 +383,7 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3) case SC_fork: return virt$fork(); default: - dbg() << "Unimplemented syscall: " << Syscall::to_string((Syscall::Function)function); + report("\n==%d== \033[31;1mUnimplemented syscall: %s\033[0m, %p\n", getpid(), Syscall::to_string((Syscall::Function)function)); dump_backtrace(); TODO(); }