diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2020-08-27 00:58:09 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-30 09:43:49 +0200 |
commit | 081bb2962675cdf8994633906c73328a605baa02 (patch) | |
tree | ab652171c8396038621e673d0f7fab82bdd1b153 /Kernel/Process.cpp | |
parent | eac3bbdcee331ffcdc585d3bc0c7491a9782cfb2 (diff) | |
download | serenity-081bb2962675cdf8994633906c73328a605baa02.zip |
Kernel: Unbreak building with extra debug macros, part 2
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r-- | Kernel/Process.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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 <LibELF/Validation.h> #include <LibKeyboard/CharacterMapData.h> -//#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) { |