diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh index 4e902155b69..232d2d6d190 100755 --- a/Meta/debug-kernel.sh +++ b/Meta/debug-kernel.sh @@ -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