[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 14/30] configure: gate our use of GDB to 8.3.1 or above
From: |
Alex Bennée |
Subject: |
[PULL 14/30] configure: gate our use of GDB to 8.3.1 or above |
Date: |
Fri, 15 Jan 2021 13:08:12 +0000 |
The support of socket based debugging which we need for linux-user
testing is only really stable as of 8.3.1 so lets gate our use of GDB
on having a relatively modern version.
For direct testing you can just point to a locally compiled version of
gdb via configure, e.g.:
../../configure --gdb=$HOME/src/binutils-gdb.git/builds/all/install/bin/gdb
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210108224256.2321-4-alex.bennee@linaro.org>
diff --git a/configure b/configure
index 155dda124c..9f016b06b5 100755
--- a/configure
+++ b/configure
@@ -6166,8 +6166,11 @@ if test "$plugins" = "yes" ; then
fi
fi
-if test -n "$gdb_bin" ; then
- echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
+if test -n "$gdb_bin"; then
+ gdb_version=$($gdb_bin --version | head -n 1)
+ if version_ge ${gdb_version##* } 8.3.1; then
+ echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
+ fi
fi
if test "$secret_keyring" = "yes" ; then
--
2.20.1
- [PULL 04/30] Add newline when generating Dockerfile, (continued)
[PULL 17/30] gdbstub: add support to Xfer:auxv:read: packet, Alex Bennée, 2021/01/15
[PULL 25/30] semihosting: Support SYS_HEAPINFO when env->boot_info is not set, Alex Bennée, 2021/01/15
[PULL 13/30] test/guest-debug: echo QEMU command as well, Alex Bennée, 2021/01/15
[PULL 14/30] configure: gate our use of GDB to 8.3.1 or above,
Alex Bennée <=
[PULL 21/30] target/arm: use official org.gnu.gdb.aarch64.sve layout for registers, Alex Bennée, 2021/01/15
- Re: [PULL 21/30] target/arm: use official org.gnu.gdb.aarch64.sve layout for registers, Claudio Fontana, 2021/01/19
- Re: [PULL 21/30] target/arm: use official org.gnu.gdb.aarch64.sve layout for registers, Claudio Fontana, 2021/01/19
- Re: [PULL 21/30] target/arm: use official org.gnu.gdb.aarch64.sve layout for registers, Alex Bennée, 2021/01/19
- Re: [PULL 21/30] target/arm: use official org.gnu.gdb.aarch64.sve layout for registers, Claudio Fontana, 2021/01/19
- Re: [PULL 21/30] target/arm: use official org.gnu.gdb.aarch64.sve layout for registers, Alex Bennée, 2021/01/19
- Re: [PULL 21/30] target/arm: use official org.gnu.gdb.aarch64.sve layout for registers, Luis Machado, 2021/01/19
[PULL 30/30] semihosting: Implement SYS_ISERROR, Alex Bennée, 2021/01/15
[PULL 29/30] semihosting: Implement SYS_TMPNAM, Alex Bennée, 2021/01/15
[PULL 07/30] Makefile: wrap cscope in quiet-command calls, Alex Bennée, 2021/01/15