From c43b79091208228e2f9c5feee8c1d04fa0eb25bb Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sat, 3 Jan 2009 19:26:44 +0000 Subject: debug Makefile targets svn-id: r35709 --- backends/platform/wii/Makefile | 7 +++++++ backends/platform/wii/gdb.txt | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 backends/platform/wii/gdb.txt (limited to 'backends') 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 + -- cgit v1.2.3