1fb7800110
This patch the 'debug' rule to simplify the debugging process. This new rule runs OpenOCD and gdb with the right parameters. OpenOCD runs in background and its output will be redirected to a log file in the application's path called LOG_OPENOCD. Once gdb client is detached, OpenOCD is terminated. The 'debug' rule is defined in Makefile.customrules-galileo file (create by this patch) which is included by the Contiki's buildsystem. So to debug a Contiki application for Galileo board, run the following command: $ make TARGET=galileo debug If you use a gdb front-end, you can define the "GDB" environment variable and your gdb front-end will be used instead of default gdb. For instance, if you want to use cgdb front-end, just run the command: $ make BOARD=galileo debug GDB=cgdb
118 lines
1.5 KiB
Text
118 lines
1.5 KiB
Text
*.a
|
|
*.bin
|
|
*.map
|
|
*.png
|
|
*.log
|
|
*.elf
|
|
*.zip
|
|
*.d
|
|
*.ihex
|
|
*.pyc
|
|
*.redbee-econotag
|
|
*.econotag
|
|
*.native
|
|
*.z1
|
|
*.minimal-net
|
|
*.sky
|
|
*.wismote
|
|
*.esb
|
|
*.avr-raven
|
|
*.exp5438
|
|
*.mbxxx
|
|
*.win32
|
|
*.apple2enh
|
|
*.atarixl
|
|
*.c128
|
|
*.c64
|
|
*.cc2538dk
|
|
*.zoul
|
|
*.jn516x
|
|
*.srf06-cc26xx
|
|
*.ev-aducrf101mkxz
|
|
*.report
|
|
summary
|
|
*.summary
|
|
*.runerr
|
|
*.runlog
|
|
*.faillog
|
|
*.orig
|
|
*~
|
|
.DS_Store
|
|
obj_*
|
|
symbols.*
|
|
Makefile.target
|
|
doc/html
|
|
doc/latex
|
|
patches-*
|
|
tools/tunslip
|
|
tools/tunslip6
|
|
build
|
|
tools/coffee-manager/build/
|
|
tools/cooja/dist/
|
|
tools/collect-view/build/
|
|
tools/collect-view/dist/
|
|
COOJA.testlog
|
|
tools/cooja/apps/mrm/lib/
|
|
tools/cooja/apps/mspsim/lib/
|
|
tools/cooja/apps/powertracker/lib/
|
|
tools/cooja/apps/serial_socket/lib/
|
|
tools/coffee-manager/coffee.jar
|
|
tools/cooja/apps/avrora/lib/cooja_avrora.jar
|
|
tools/cooja/apps/collect-view/cooja-collect-view.jar
|
|
|
|
# sdcc build artifacts
|
|
contiki-sensinode.lib
|
|
contiki-cc2530dk.lib
|
|
*.ihx
|
|
*.hex
|
|
*.mem
|
|
*.lk
|
|
*.omf
|
|
*.cdb
|
|
*.banks
|
|
*.sensinode
|
|
*.cc2530dk
|
|
|
|
# VC++ build artifacts
|
|
*.exp
|
|
*.ilk
|
|
*.lib
|
|
*.pdb
|
|
*.prg
|
|
*.dsc
|
|
|
|
#cc65 build artifacts
|
|
*.S
|
|
*.eth
|
|
*.dsk
|
|
*.po
|
|
*.atr
|
|
*.d64
|
|
*.d71
|
|
*.d81
|
|
|
|
# Cooja Build Artifacts
|
|
*.cooja
|
|
|
|
#regression tests artifacts
|
|
*.testlog
|
|
*.log.prog
|
|
regression-tests/[0-9][0-9]-*/report
|
|
regression-tests/[0-9][0-9]-*/org/
|
|
|
|
# rl78 build artifacts
|
|
*.eval-adf7xxxmb4z
|
|
*.eval-adf7xxxmb4z.srec
|
|
|
|
# cscope files
|
|
cscope.*
|
|
|
|
# galileo bsp files
|
|
platform/galileo/bsp/libc/i586-elf/
|
|
platform/galileo/bsp/libc/newlib-2.2.0-1*
|
|
platform/galileo/bsp/grub/src/
|
|
platform/galileo/bsp/grub/bin/
|
|
|
|
# galileo build and debug artefacts
|
|
*.galileo
|
|
LOG_OPENOCD
|