diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-14 14:27:43 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-14 14:27:43 +0200 |
| commit | 94ceccd5acda2fd035eb55235126b944b0915576 (patch) | |
| tree | 8189412a45182b418cc3d0d63996c482e116e8d4 /dev/LibCompiler | |
| parent | bdab776c880e4f4868332c451b028684f54ecd5d (diff) | |
dev(kdbg): Working on NeKernel Debugger.
how:
- Load vmkrnl.efi.
- Keep track of IP, Stack, and debugging information related to the
kernel.
- Make use of breakpoints and provide lldb grade experience.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler')
| -rw-r--r-- | dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc index ace6d17..051529d 100644 --- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc +++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc @@ -899,7 +899,9 @@ LIBCOMPILER_MODULE(CompilerCPlusPlusAMD64) { return kExitNO; } - kFactory.Compile(argv_i, kMachine); + if (kFactory.Compile(argv_i, kMachine) != kExitOK) { + Detail::print_error("Compiler error, see log for details.\n", "cxxdrv"); + } } return kExitNO; |
