Meta: Support debugging the riscv64 kernel

This commit is contained in:
Idan Horowitz 2024-04-22 16:22:40 +03:00 committed by Andreas Kling
parent a2b2209ea5
commit 8a86218e25
Notes: sideshowbarker 2024-07-17 06:51:40 +09:00

View file

@ -46,6 +46,10 @@ elif [ "$SERENITY_ARCH" = "aarch64" ]; then
gdb_arch=aarch64:armv8-r
prekernel_image=Prekernel
kernel_base=0x0
elif [ "$SERENITY_ARCH" = "riscv64" ]; then
gdb_arch=riscv:rv64
prekernel_image=Prekernel
kernel_base=0x0
fi
# FIXME: This doesn't work when running QEMU inside the WSL2 VM