Use gdb-multiarch for make gdb to support debugging an arm vm on x86 and vice versa

This commit is contained in:
bjorn3 2024-03-17 14:28:38 +01:00
parent 30e701d357
commit b1fa1f9907

View file

@ -89,6 +89,7 @@ else
bash
endif
export RUST_GDB=gdb-multiarch # Necessary when debugging for another architecture than the host
gdb: FORCE
gdb cookbook/recipes/core/kernel/target/$(TARGET)/build/kernel.sym --eval-command="target remote localhost:1234"