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