diff options
Diffstat (limited to 'Toolchain/BuildIt.sh')
-rwxr-xr-x | Toolchain/BuildIt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index 16ea39befe..777f2685e2 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -103,7 +103,7 @@ buildstep() { has_gdb() { ARCH=$1 ARCH_DASH="${ARCH//_/-}" - if command -v gdb >/dev/null && gdb -ex 'set architecture' -ex 'quit' | grep "$ARCH_DASH"; then + if command -v gdb >/dev/null && gdb -ex 'set architecture' -ex 'quit' 2>&1 | grep "$ARCH_DASH"; then return 0 else command -v "$ARCH"-elf-gdb >/dev/null |