diff --git a/Makefile b/Makefile index 9146a2a..41fb6e8 100644 --- a/Makefile +++ b/Makefile @@ -89,7 +89,7 @@ openocd: $(OPENOCD) -f interface/jlink.cfg -f ./doc/rpi3_jlink.cfg gdb: kernel8.img - env RUST_GDB=$(GDB) rust-gdb kernel8 + env RUST_GDB=$(GDB) rust-gdb -x gdb-connect kernel8 gdbdash: kernel8.img env RUST_GDB=$(GDB) rust-gdb -x ~/.gdbinit_dashboard kernel8 diff --git a/gdb-connect b/gdb-connect new file mode 100644 index 0000000..43d554f --- /dev/null +++ b/gdb-connect @@ -0,0 +1,2 @@ +target remote :3333 +