diff --git a/Makefile b/Makefile index de2b9b0..03b53ee 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,10 @@ gdb-server: gdb-client: gdb --symbols $(BUILD_DIR)/$(TARGET).elf --init-eval-command="target extended-remote localhost:3333" +.PHONY: gdb-guiclient +gdb-guiclient: + gdbgui --gdb-cmd="gdb --init-eval-command='target extended-remote localhost:3333'" $(BUILD_DIR)/$(TARGET).elf + .PHONY: clean clean: rm -rf $(BUILD_DIR) diff --git a/flake.nix b/flake.nix index 6906dd2..7be6eef 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,7 @@ pkgs.stlink pkgs.gdb pkgs.openocd + pkgs.gdbgui ]; }; }