From cf431e696c2bac9e9f4e4d5403b015ba9d1b98d4 Mon Sep 17 00:00:00 2001 From: Toon Stegen Date: Fri, 22 Apr 2016 12:00:10 +0200 Subject: [PATCH] make debug: start gdb quietly --- boards/native/Makefile.include | 2 +- dist/tools/jlink/jlink.sh | 2 +- dist/tools/openocd/openocd.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/native/Makefile.include b/boards/native/Makefile.include index 982910e678..7a4a472d03 100644 --- a/boards/native/Makefile.include +++ b/boards/native/Makefile.include @@ -83,7 +83,7 @@ endif export TERMFLAGS := $(PORT) $(TERMFLAGS) export ASFLAGS = -export DEBUGGER_FLAGS = --args $(ELF) $(TERMFLAGS) +export DEBUGGER_FLAGS = -q --args $(ELF) $(TERMFLAGS) term-valgrind: export VALGRIND_FLAGS ?= \ --track-origins=yes \ --fullpath-after=$(RIOTBASE)/ \ diff --git a/dist/tools/jlink/jlink.sh b/dist/tools/jlink/jlink.sh index 6596c789df..56eb6e5370 100755 --- a/dist/tools/jlink/jlink.sh +++ b/dist/tools/jlink/jlink.sh @@ -171,7 +171,7 @@ do_debug() { # save PID for terminating the server afterwards DBG_PID=$? # connect to the GDB server - ${DBG} ${TUI} -ex "tar ext :${GDB_PORT}" ${ELFFILE} + ${DBG} -q ${TUI} -ex "tar ext :${GDB_PORT}" ${ELFFILE} # clean up kill ${DBG_PID} } diff --git a/dist/tools/openocd/openocd.sh b/dist/tools/openocd/openocd.sh index 816fbb2c3a..41a3ec94d7 100755 --- a/dist/tools/openocd/openocd.sh +++ b/dist/tools/openocd/openocd.sh @@ -211,7 +211,7 @@ do_debug() { -l /dev/null & \ echo \$! > $OCD_PIDFILE" & # connect to the GDB server - ${DBG} ${TUI} -ex "tar ext :${GDB_PORT}" ${ELFFILE} + ${DBG} -q ${TUI} -ex "tar ext :${GDB_PORT}" ${ELFFILE} # will be called by trap cleanup() { OCD_PID="$(cat $OCD_PIDFILE)"