From 081bb2962675cdf8994633906c73328a605baa02 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Thu, 27 Aug 2020 00:58:09 +0200 Subject: Kernel: Unbreak building with extra debug macros, part 2 --- Kernel/Process.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Kernel/Process.cpp') diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 848ef64d4a..f85a6fcb33 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -79,9 +79,10 @@ #include #include -//#define PROCESS_DEBUG -//#define DEBUG_POLL_SELECT //#define DEBUG_IO +//#define DEBUG_POLL_SELECT +//#define MM_DEBUG +//#define PROCESS_DEBUG //#define SIGNAL_DEBUG namespace Kernel { @@ -367,12 +368,12 @@ Process::Process(Thread*& first_thread, const String& name, uid_t uid, gid_t gid , m_ppid(ppid) { #ifdef PROCESS_DEBUG - dbg() << "Created new process " << m_name << "(" << m_pid << ")"; + dbg() << "Created new process " << m_name << "(" << m_pid.value() << ")"; #endif m_page_directory = PageDirectory::create_for_userspace(*this, fork_parent ? &fork_parent->page_directory().range_allocator() : nullptr); #ifdef MM_DEBUG - dbg() << "Process " << pid() << " ctor: PD=" << m_page_directory.ptr() << " created"; + dbg() << "Process " << pid().value() << " ctor: PD=" << m_page_directory.ptr() << " created"; #endif if (fork_parent) { -- cgit v1.2.3