makefile: Add target to run GUI debugger client

This commit is contained in:
Alexander Heldt
2024-08-02 13:36:25 +02:00
parent c84cf622f1
commit 9b131a3c24
2 changed files with 5 additions and 0 deletions

View File

@@ -73,6 +73,10 @@ gdb-server:
gdb-client: gdb-client:
gdb --symbols $(BUILD_DIR)/$(TARGET).elf --init-eval-command="target extended-remote localhost:3333" 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 .PHONY: clean
clean: clean:
rm -rf $(BUILD_DIR) rm -rf $(BUILD_DIR)

View File

@@ -26,6 +26,7 @@
pkgs.stlink pkgs.stlink
pkgs.gdb pkgs.gdb
pkgs.openocd pkgs.openocd
pkgs.gdbgui
]; ];
}; };
} }