From b1fa1f9907c3ef79600f124555e9db8f33cdd085 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sun, 17 Mar 2024 14:28:38 +0100 Subject: [PATCH] Use gdb-multiarch for make gdb to support debugging an arm vm on x86 and vice versa --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4ac40e1..b88518c 100644 --- a/Makefile +++ b/Makefile @@ -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"