diff options
author | Andre Heider | 2009-01-03 19:26:44 +0000 |
---|---|---|
committer | Andre Heider | 2009-01-03 19:26:44 +0000 |
commit | c43b79091208228e2f9c5feee8c1d04fa0eb25bb (patch) | |
tree | dacc7edde742cf56911a077b2652d04578024128 | |
parent | 043ddf0ae6566d94e928b4b1341ca2521cdd1a23 (diff) | |
download | scummvm-rg350-c43b79091208228e2f9c5feee8c1d04fa0eb25bb.tar.gz scummvm-rg350-c43b79091208228e2f9c5feee8c1d04fa0eb25bb.tar.bz2 scummvm-rg350-c43b79091208228e2f9c5feee8c1d04fa0eb25bb.zip |
debug Makefile targets
svn-id: r35709
-rw-r--r-- | backends/platform/wii/Makefile | 7 | ||||
-rw-r--r-- | backends/platform/wii/gdb.txt | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/backends/platform/wii/Makefile b/backends/platform/wii/Makefile index 6638e0ef8f..dd3728a05e 100644 --- a/backends/platform/wii/Makefile +++ b/backends/platform/wii/Makefile @@ -61,6 +61,7 @@ LD = $(PREFIX)gcc AR = $(PREFIX)ar cru RANLIB = $(PREFIX)ranlib STRIP = $(PREFIX)strip -g +GDB = $(PREFIX)gdb MKDIR = mkdir -p RM = rm -f RM_REC = rm -rf @@ -162,6 +163,12 @@ else $(DEVKITPPC)/bin/wiiload $(TARGET).dol endif +gdb: + $(GDB) -n $(TARGET).elf + +debug: + $(GDB) -n $(TARGET).elf -x gdb.txt + dist: $(MKDIR) dist/scummvm ifeq ($(GAMECUBE),1) diff --git a/backends/platform/wii/gdb.txt b/backends/platform/wii/gdb.txt new file mode 100644 index 0000000000..4e6c7928c3 --- /dev/null +++ b/backends/platform/wii/gdb.txt @@ -0,0 +1,4 @@ +target remote /dev/ttyUSB0 +info threads +bt + |