[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/21] configure: Fix arch detection for GDB_HAS_MTE
|
From: |
Alex Bennée |
|
Subject: |
[PULL 03/21] configure: Fix arch detection for GDB_HAS_MTE |
|
Date: |
Thu, 15 Aug 2024 15:48:53 +0100 |
From: Gustavo Romero <gustavo.romero@linaro.org>
GDB_HAS_MTE must only be set if GDB supports the aarch64 arch, so the
test if "aarch64" string is present must be against GDB-related
'$gdb_arches' variable and not against '$arch' variable.
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Message-Id: <20240804161850.2646299-2-gustavo.romero@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240813202329.1237572-4-alex.bennee@linaro.org>
diff --git a/configure b/configure
index 019fcbd0ef..a3aa257fd3 100755
--- a/configure
+++ b/configure
@@ -1673,7 +1673,7 @@ for target in $target_list; do
echo "GDB=$gdb_bin" >> $config_target_mak
fi
- if test "${arch}" = "aarch64" && version_ge ${gdb_version##* } 15.0; then
+ if test "${gdb_arches#*aarch64}" != "$gdb_arches" && version_ge
${gdb_version##* } 15.0; then
echo "GDB_HAS_MTE=y" >> $config_target_mak
fi
--
2.39.2
- [PULL for 9.1 00/21] Some fixes for 9.1-rc3 (build, replay, docs, plugins), Alex Bennée, 2024/08/15
- [PULL 01/21] tests/avocado: Re-enable gdbsim-r5f562n8 testing U-Boot, Alex Bennée, 2024/08/15
- [PULL 02/21] Makefile: trigger re-configure on updated pythondeps, Alex Bennée, 2024/08/15
- [PULL 04/21] configure: Avoid use of param. expansion when using gdb_version, Alex Bennée, 2024/08/15
- [PULL 07/21] target/i386: allow access_ptr to force slow path on failed probe, Alex Bennée, 2024/08/15
- [PULL 14/21] tests/avocado: replay_kernel.py add x86-64 q35 machine test, Alex Bennée, 2024/08/15
- [PULL 05/21] configure: Fix GDB version detection for GDB_HAS_MTE, Alex Bennée, 2024/08/15
- [PULL 06/21] scripts/checkpatch: more checks on files imported from Linux, Alex Bennée, 2024/08/15
- [PULL 03/21] configure: Fix arch detection for GDB_HAS_MTE,
Alex Bennée <=
- [PULL 21/21] plugins: fix race condition with scoreboards, Alex Bennée, 2024/08/15
- [PULL 15/21] chardev: set record/replay on the base device of a muxed device, Alex Bennée, 2024/08/15
- [PULL 09/21] scripts/replay-dump.py: Update to current rr record format, Alex Bennée, 2024/08/15
- [PULL 16/21] virtio-net: Use replay_schedule_bh_event for bhs that affect machine state, Alex Bennée, 2024/08/15
- [PULL 19/21] docs: Fix some typos (found by typos) and grammar issues, Alex Bennée, 2024/08/15
- [PULL 10/21] scripts/replay-dump.py: rejig decoders in event number order, Alex Bennée, 2024/08/15
- [PULL 12/21] replay: allow runstate shutdown->running when replaying trace, Alex Bennée, 2024/08/15
- [PULL 13/21] Revert "replay: stop us hanging in rr_wait_io_event", Alex Bennée, 2024/08/15
- [PULL 11/21] tests/avocado: excercise scripts/replay-dump.py in replay tests, Alex Bennée, 2024/08/15