makefile: Add target to run GUI debugger client
This commit is contained in:
4
Makefile
4
Makefile
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user