From patchwork Thu Sep 29 11:41:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 610572 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp857416pvb; Thu, 29 Sep 2022 05:31:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Ac5LrRFXwZokikefnDEfNIgCSbuaxexHHjj8otFBbD+QRGRn4p8ILMWDR/ZOLhbAstFjN X-Received: by 2002:ae9:f209:0:b0:6ce:24c1:13d5 with SMTP id m9-20020ae9f209000000b006ce24c113d5mr2025863qkg.330.1664454706417; Thu, 29 Sep 2022 05:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664454706; cv=none; d=google.com; s=arc-20160816; b=rSWZHxp3WoKgGuuOQrpIPY7aXStsL0nxJJ4ny+zpA0qOe58GsWq34zsY4TXYOHNWlu AXjo+5uOR77kgbl1zxyjHJwcCx/J+ZISurMBrcGzpgUYUf5mjP9CsMo7ans3mnXvS9it MMXKyDWmPca8GRpRhBLi5dVN39PRhJJattfWcVOYjiQWGX5mEs08uqu79ZXc9WqkUdLk FAfls638gvl+nZDnrO9UkrzGg54va02MoiBbx9g7125afr0xirlDzjz83tTyBH+F0Y1y fi8OSlMUxEdUU8i2zuhDsRu5tPhn52ok3R28CRdmpOoGEzQxdPYiXYXx3bd1b8gpFCun CfuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Diq8ZN9f6nzxeYGGdF9jWCCGVvSqsoLnUON4PzOL4RU=; b=x01PtgxjhVm8AeqayCUEdVGj8LuunSKJxLi7xVuGufmI2rdPls6bzOWuLiTfa0VX/M cR+gMEhaV/6Yc5JUyCEYipOD8tKcYOnEWH8K7KP4wxUd86pzX5p7rteFqgKsucbJS51B dlv9aLeVkaCSxrsOdWfvaclnm1JMT31YRSX/qz+2+Rsa4xlMQlbHPS6e/tBdqJb2JTJz rSgvoQIjHAi03B9ATu1gg/BhBjeSj74crzTWon8kuWYmbnCwGV5C/NwMSGEE6+xNPXFP Us/gX6FavPzvoLmcwpmRCMT1gknwVYKceHqJh1BWauZyI1NwlKEWSYVOAXNrss5PFnmK wVCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hHSrXGga; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id gd16-20020a05622a5c1000b0031ef7b2ffedsi1217943qtb.62.2022.09.29.05.31.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Sep 2022 05:31:46 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hHSrXGga; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odshd-0006za-Nb for patch@linaro.org; Thu, 29 Sep 2022 08:31:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odrw7-0004Nl-C9 for qemu-devel@nongnu.org; Thu, 29 Sep 2022 07:42:39 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:43771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odrw4-0001Cr-S2 for qemu-devel@nongnu.org; Thu, 29 Sep 2022 07:42:38 -0400 Received: by mail-wr1-x431.google.com with SMTP id h7so1730540wru.10 for ; Thu, 29 Sep 2022 04:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Diq8ZN9f6nzxeYGGdF9jWCCGVvSqsoLnUON4PzOL4RU=; b=hHSrXGgaXoh/Z9nPkPbKaSxA0TDdRNbrHh6XUDKnV5Z8MXOESHRjdWdPBIon6H8LWv BxpKtia6metZZxukF2+HKg2VGIfUHO5xem1NUXXQcoK0usSBVyEecL7MogwNtLBy6xD2 h8LjI3Wt1CGU8VZgj2P+FeraX+3r0+5sR8dfPUqTfELN3N53afn8Wt+WM5gJU2Mf9wZp JxGPymUQc8f8cNTUi7FfzpVm0w03Eel3lzcFMG4Y6hvhMqAuxqRWrYRbz8o5FGnrQFT+ kQkrjfu8ZBKqbC5Vby5+2JTQ6mZGMVkT4x/GLFHp3+bVjdOGPKtL7tjJBf4pOSH0PY47 I3uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Diq8ZN9f6nzxeYGGdF9jWCCGVvSqsoLnUON4PzOL4RU=; b=pr2Lj/Y4ftffx97pw8BkEc1Ef9EaEhxETQyK764hrZRcMjcJOnPaUOIPNpL0B4GkhT 4eHCTWz8vxB3qVkr0iNaMmFlAkSiu2a15NkvSBCXsDH1jmaaDaiPSCHmrgkddAc2DksA jXdha+xUa5aBzxhJFGJMgxr3ApBO08aT/76NOhLPwTZCOCHPp8x5U+BzsLVNWD/ufN+W /6kTKr7G445j6mF4+0D8BAnzIv+UzBw6Mi8MDWNMkZvpHDWCT+XQ4GFsqJFMVMTg2MJc AGOxEct8BmAvGiw8HCpJ3pdRbVb0tBlurbgXgoOzW54SsyiEva+w67OwIqVGEPxCSlpq yLkQ== X-Gm-Message-State: ACrzQf3ilCJLgBH4KK3955/SBMVdZ1frQbXbYyl2TgP7OVj1bWJnVu9/ nosJOXOdN4BVZ+KrPcA+wEDGNw== X-Received: by 2002:a5d:6dad:0:b0:22c:cedf:8e56 with SMTP id u13-20020a5d6dad000000b0022ccedf8e56mr2060567wrs.596.1664451755531; Thu, 29 Sep 2022 04:42:35 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id t14-20020a1c770e000000b003a5ffec0b91sm4092411wmi.30.2022.09.29.04.42.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 04:42:34 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B1B581FFBD; Thu, 29 Sep 2022 12:42:31 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, minyihh@uci.edu, ma.mandourr@gmail.com, Luke.Craig@ll.mit.edu, cota@braap.org, aaron@os.amperecomputing.com, kuhn.chenqun@huawei.com, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH v1 05/51] configure: move detected gdb to TCG's config-host.mak Date: Thu, 29 Sep 2022 12:41:45 +0100 Message-Id: <20220929114231.583801-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220929114231.583801-1-alex.bennee@linaro.org> References: <20220929114231.583801-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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) Signed-off-by: Alex Bennée Message-Id: <20220922145832.1934429-6-alex.bennee@linaro.org> --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index dc53e4df03..52ae4adffc 100755 --- a/configure +++ b/configure @@ -2453,6 +2453,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 @@ -2537,6 +2539,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%%-*}