summaryrefslogtreecommitdiff
path: root/Meta/debug-kernel.sh
AgeCommit message (Collapse)Author
2021-09-17Meta: Set SERENITY_ARCH if it is not set in debug-kernel.shBrian Gianforcaro
This appears to have regressed recently in commit 783a58dbc.
2021-09-07Toolchain: Build aarch64-gdb for cross-debugging on x86Idan Horowitz
2021-08-19Meta: Explicitly configure source directory in debug-kernel.shBrian Gianforcaro
Previously debug-kernel.sh wouldn't detect source if you launched the script from the wrong path. By explicitly setting the name, source will be loaded by gdb in all situations.
2021-08-14Meta: Disable printing frame args when debugging the kernel with gdbBrian Gianforcaro
The function arguments almost always optimized away, so you never get much value out of showing these in the default back trace view, it just adds a bunch of extra stuff that you need to visual wade through. So lets disable showing them.
2021-08-08Meta: Allow attaching GDB to the QEMU instance on the WSL2 hostGunnar Beutner
2021-07-27Kernel: Support loading the kernel at almost arbitrary virtual addressesGunnar Beutner
This enables further work on implementing KASLR by adding relocation support to the pre-kernel and updating the kernel to be less dependent on specific virtual memory layouts.
2021-07-18Kernel: Introduce basic pre-kernel environmentGunnar Beutner
This implements a simple bootloader that is capable of loading ELF64 kernel images. It does this by using QEMU/GRUB to load the kernel image from disk and pass it to our bootloader as a Multiboot module. The bootloader then parses the ELF image and sets it up appropriately. The kernel's entry point is a C++ function with architecture-native code. Co-authored-by: Liav A <liavalb@gmail.com>
2021-06-29Meta: Change default GDB layoutGunnar Beutner
This adds a TUI window that displays disassembly/source code which I've found quite useful.
2021-06-25Kernel: Build the x86_64 kernel as an ELF32 executableGunnar Beutner
Multiboot only supports ELF32 executables. This changes the build process to build an ELF32 executable which has a 32-bit entry point, but consists of mostly 64-bit code.
2021-04-22Meta: Add GDB pretty printersGunnar Beutner
2021-03-09Meta: Add a build helper scriptTom
This script automatically manages the toolchain and cmake/ninja folders making it easier to manage the different target architectures.
2021-02-07Meta: Fix path to kernel binary in debug-kernel.shBrian Gianforcaro
This appears to have been broken since the migration to cmake.
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080