mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dist/tools/avarice/debug.sh: less noise
Redirect also stderr to /dev/null when trying to detect the correct binary name for GDB for AVR.
This commit is contained in:
parent
922611b224
commit
7f01c17ef3
4
dist/tools/avarice/debug.sh
vendored
4
dist/tools/avarice/debug.sh
vendored
@ -3,9 +3,9 @@
|
||||
# The setsid command is needed so that Ctrl+C in GDB doesn't kill avarice
|
||||
: ${SETSID:=setsid}
|
||||
|
||||
if avr-gdb -v > /dev/null; then
|
||||
if avr-gdb -v &> /dev/null; then
|
||||
GDB=avr-gdb
|
||||
elif gdb-multiarch -v > /dev/null; then
|
||||
elif gdb-multiarch -v &> /dev/null; then
|
||||
GDB=gdb-multiarch
|
||||
else
|
||||
echo "Couldn't find multiarch GDB or AVR GDB. Check \$PATH."
|
||||
|
Loading…
Reference in New Issue
Block a user