[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 10/15] configure: move detected gdb to TCG's config-host.mak
From: |
Alex Bennée |
Subject: |
[PATCH v3 10/15] configure: move detected gdb to TCG's config-host.mak |
Date: |
Tue, 27 Sep 2022 15:14:59 +0100 |
When tests/tcg gained it's own config-host.mak we forgot to move the
GDB detection.
Fixes: 544f4a2578 (tests/tcg: isolate from QEMU's config-host.mak)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configure b/configure
index cc4ecd6008..f6a36a5361 100755
--- a/configure
+++ b/configure
@@ -2475,6 +2475,8 @@ if test -n "$gdb_bin"; then
gdb_version=$($gdb_bin --version | head -n 1)
if version_ge ${gdb_version##* } 9.1; then
echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
+ else
+ gdb_bin=""
fi
fi
@@ -2559,6 +2561,11 @@ echo "# Automatically generated by configure - do not
modify" > $config_host_mak
echo "SRC_PATH=$source_path" >> $config_host_mak
echo "HOST_CC=$host_cc" >> $config_host_mak
+# versioned checked in the main config_host.mak above
+if test -n "$gdb_bin"; then
+ echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
+fi
+
tcg_tests_targets=
for target in $target_list; do
arch=${target%%-*}
--
2.34.1
- [PATCH v3 01/15] hw: encode accessing CPU index in MemTxAttrs, (continued)
- [PATCH v3 01/15] hw: encode accessing CPU index in MemTxAttrs, Alex Bennée, 2022/09/27
- [PATCH v3 02/15] target/arm: ensure TCG IO accesses set appropriate MemTxAttrs, Alex Bennée, 2022/09/27
- [PATCH v3 03/15] target/arm: ensure HVF traps set appropriate MemTxAttrs, Alex Bennée, 2022/09/27
- [PATCH v3 08/15] hw/intc/gic: use MxTxAttrs to divine accessing CPU, Alex Bennée, 2022/09/27
- [PATCH v3 05/15] target/arm: ensure ptw accesses set appropriate MemTxAttrs, Alex Bennée, 2022/09/27
- [PATCH v3 10/15] configure: move detected gdb to TCG's config-host.mak,
Alex Bennée <=
- [PATCH v3 04/15] target/arm: ensure KVM traps set appropriate MemTxAttrs, Alex Bennée, 2022/09/27
- [PATCH v3 07/15] qtest: make read/write operation appear to be from CPU, Alex Bennée, 2022/09/27
- [PATCH v3 06/15] target/arm: ensure m-profile helpers set appropriate MemTxAttrs, Alex Bennée, 2022/09/27
- [PATCH v3 09/15] hw/timer: convert mptimer access to attrs to derive cpu index, Alex Bennée, 2022/09/27
- [PATCH v3 11/15] gdbstub: move into its own sub directory, Alex Bennée, 2022/09/27
- [PATCH v3 14/15] gdbstub: move guest debug support check to ops, Alex Bennée, 2022/09/27