mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 21:57:18 +00:00
Kernel: Unbreak building with extra debug macros, part 2
This commit is contained in:
parent
eac3bbdcee
commit
081bb29626
Notes:
sideshowbarker
2024-07-19 03:02:27 +09:00
Author: https://github.com/BenWiederhake
Commit: 081bb29626
Pull-request: https://github.com/SerenityOS/serenity/pull/3314
9 changed files with 28 additions and 18 deletions
|
@ -40,6 +40,7 @@
|
|||
#include <LibELF/Validation.h>
|
||||
|
||||
//#define EXEC_DEBUG
|
||||
//#define MM_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
|
@ -97,7 +98,7 @@ int Process::do_exec(NonnullRefPtr<FileDescription> main_program_description, Ve
|
|||
}
|
||||
|
||||
#ifdef MM_DEBUG
|
||||
dbg() << "Process " << pid() << " exec: PD=" << m_page_directory.ptr() << " created";
|
||||
dbg() << "Process " << pid().value() << " exec: PD=" << m_page_directory.ptr() << " created";
|
||||
#endif
|
||||
|
||||
InodeMetadata loader_metadata;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue