mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
Meta: Support debugging the riscv64 kernel
This commit is contained in:
parent
a2b2209ea5
commit
8a86218e25
Notes:
sideshowbarker
2024-07-17 06:51:40 +09:00
Author: https://github.com/IdanHo
Commit: 8a86218e25
Pull-request: https://github.com/SerenityOS/serenity/pull/24072
Reviewed-by: https://github.com/spholz
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,10 @@ elif [ "$SERENITY_ARCH" = "aarch64" ]; then
|
||||||
gdb_arch=aarch64:armv8-r
|
gdb_arch=aarch64:armv8-r
|
||||||
prekernel_image=Prekernel
|
prekernel_image=Prekernel
|
||||||
kernel_base=0x0
|
kernel_base=0x0
|
||||||
|
elif [ "$SERENITY_ARCH" = "riscv64" ]; then
|
||||||
|
gdb_arch=riscv:rv64
|
||||||
|
prekernel_image=Prekernel
|
||||||
|
kernel_base=0x0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# FIXME: This doesn't work when running QEMU inside the WSL2 VM
|
# FIXME: This doesn't work when running QEMU inside the WSL2 VM
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue