mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #5160 from kaspar030/native_make_term_through_gdb
native: compile with -g, "make term" runs through gdb
This commit is contained in:
commit
4ae8980a6e
@ -33,7 +33,7 @@ endif
|
||||
endif
|
||||
|
||||
export DEBUGGER = gdb
|
||||
export TERMPROG = $(ELF)
|
||||
export TERMPROG ?= $(ELF)
|
||||
export FLASHER = true
|
||||
export VALGRIND ?= valgrind
|
||||
export CGANNOTATE ?= cg_annotate
|
||||
|
2
dist/tools/travis-scripts/build_and_test.sh
vendored
2
dist/tools/travis-scripts/build_and_test.sh
vendored
@ -71,7 +71,7 @@ then
|
||||
|
||||
if [ "$BUILDTEST_MCU_GROUP" == "x86" ]
|
||||
then
|
||||
make -C ./tests/unittests all test BOARD=native || exit
|
||||
make -C ./tests/unittests all-debug test BOARD=native TERMPROG='gdb -batch -ex r -ex bt $(ELF)' || exit
|
||||
# TODO:
|
||||
# Reenable once https://github.com/RIOT-OS/RIOT/issues/2300 is
|
||||
# resolved:
|
||||
|
Loading…
Reference in New Issue
Block a user