From dcd5a82073928372a6c52cbc8974f3506ca67713 Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 3 Dec 2022 17:34:14 +0100 Subject: [PATCH] Make GDB use the correct kernel file --- .gdbconf | 2 +- tools/gdb.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gdbconf b/.gdbconf index d03031b8..81fc76d9 100644 --- a/.gdbconf +++ b/.gdbconf @@ -1,4 +1,4 @@ -file kernel/bin/moon.elf +file kernel/moon break _start target remote :1234 continue \ No newline at end of file diff --git a/tools/gdb.sh b/tools/gdb.sh index f0363a98..394192d9 100755 --- a/tools/gdb.sh +++ b/tools/gdb.sh @@ -3,4 +3,6 @@ set -e source $(dirname $0)/env.sh +cd $BUILD_DIR + gdb -x .gdbconf \ No newline at end of file