diff options
Diffstat (limited to 'backends/platform')
-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 + |