debug Makefile targets

svn-id: r35709
This commit is contained in:
Andre Heider 2009-01-03 19:26:44 +00:00
parent 043ddf0ae6
commit c43b790912
2 changed files with 11 additions and 0 deletions

View File

@ -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)

View File

@ -0,0 +1,4 @@
target remote /dev/ttyUSB0
info threads
bt