[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/6] configure: Fix GDB version detection for GDB_HAS_MTE
From: |
Alex Bennée |
Subject: |
[PATCH 5/6] configure: Fix GDB version detection for GDB_HAS_MTE |
Date: |
Wed, 7 Aug 2024 12:40:58 +0100 |
From: Gustavo Romero <gustavo.romero@linaro.org>
The test gdbstub/test-mte.py requires a GDB version that supports the
qIsAddressTagged packet. According to GDB NEWS [0], this packet was
first made available in the GDB 15.1 release, not in 15.0, so this
commit fixes it in configure.
[0] https://www.sourceware.org/gdb/news/
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2477
Message-Id: <20240804161850.2646299-4-gustavo.romero@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 97de85d710..d08b71f14b 100755
--- a/configure
+++ b/configure
@@ -1675,7 +1675,7 @@ for target in $target_list; do
echo "GDB=$gdb_bin" >> $config_target_mak
fi
- if test "${gdb_arches#*aarch64}" != "$gdb_arches" && version_ge
$gdb_version 15.0; then
+ if test "${gdb_arches#*aarch64}" != "$gdb_arches" && version_ge
$gdb_version 15.1; then
echo "GDB_HAS_MTE=y" >> $config_target_mak
fi
--
2.39.2
- [PATCH 0/6] A few more fixes for 9.1, Alex Bennée, 2024/08/07
- [PATCH 2/6] Makefile: trigger re-configure on updated pythondeps, Alex Bennée, 2024/08/07
- [PATCH 4/6] configure: Avoid use of param. expansion when using gdb_version, Alex Bennée, 2024/08/07
- [PATCH 3/6] configure: Fix arch detection for GDB_HAS_MTE, Alex Bennée, 2024/08/07
- [PATCH 1/6] tests/avocado: Re-enable gdbsim-r5f562n8 testing U-Boot, Alex Bennée, 2024/08/07
- [PATCH 5/6] configure: Fix GDB version detection for GDB_HAS_MTE,
Alex Bennée <=
- [PATCH 6/6] scripts/checkpatch: more checks on files imported from Linux, Alex Bennée, 2024/08/07