1
0
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:
Marian Buschsieweke 2021-04-22 08:45:57 +02:00
parent 922611b224
commit 7f01c17ef3
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -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."