Connect gdb to target automatically
This commit is contained in:
parent
98be0a304c
commit
bd68e95e27
2
Makefile
2
Makefile
|
@ -89,7 +89,7 @@ openocd:
|
||||||
$(OPENOCD) -f interface/jlink.cfg -f ./doc/rpi3_jlink.cfg
|
$(OPENOCD) -f interface/jlink.cfg -f ./doc/rpi3_jlink.cfg
|
||||||
|
|
||||||
gdb: kernel8.img
|
gdb: kernel8.img
|
||||||
env RUST_GDB=$(GDB) rust-gdb kernel8
|
env RUST_GDB=$(GDB) rust-gdb -x gdb-connect kernel8
|
||||||
|
|
||||||
gdbdash: kernel8.img
|
gdbdash: kernel8.img
|
||||||
env RUST_GDB=$(GDB) rust-gdb -x ~/.gdbinit_dashboard kernel8
|
env RUST_GDB=$(GDB) rust-gdb -x ~/.gdbinit_dashboard kernel8
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
target remote :3333
|
||||||
|
|
Loading…
Reference in New Issue