From patchwork Mon Sep 26 13:39:00 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: 609328 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1895265pvb; Mon, 26 Sep 2022 07:34:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7IMI9KvnUbNviSKA+7cT6kU3GmjfqIHqamz7Gq0sDl3Emw+q+Be6ZBl0oPcLJXFYc4Lle+ X-Received: by 2002:ac8:7a8e:0:b0:35b:b23f:d03 with SMTP id x14-20020ac87a8e000000b0035bb23f0d03mr18309925qtr.665.1664202867513; Mon, 26 Sep 2022 07:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664202867; cv=none; d=google.com; s=arc-20160816; b=H9s07g+pbNAr7mo+yWJvwvDnj/X9YfiD4AX0+a+kG6QRQywLXsRrTGPnl6PR+h/ejh XdzSAdJzGepXQjgl9r5bz11EqQGQngYAKvqOQKnoOk6yaXdH9Eop5IEPtoCqcFIhfmpe cfHtZ7h8CRS7VZg7dMI7Xf5MVn+VRwtvSRorect6q1RBn6MHAGnoQEWg3fhy1vMN854Y Ufv24biwOMT41WcgdFNzIJL6h15iH/wt3do/SV3QHQoayiVaZKYbOczPn3wNSTWiblGE 7ekI1cEHcP9uXUgoXcLDWyuJuBi2l0q98ltdkRY5HTIlbutGG58fDiTzR0kXVnI+FHid UzbQ== 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=PI0lzKVBNSGjEUI0jEXjRiLwo5dV6hN1IML/GBrLC6Y=; b=FFK/VOmeKqq1NY+UCLkJuvZaCsdv/5LO3dPDaanr/QjjgWGt18ehOupyWHZmS0PHzX YfvLuH6f3XQThFFBkACqLtAB0xeP0XLBTFMEWgMHb4BGVa6J4x+CfU/UWBj41ZicUekA Jf0v/h00PF6EKoB+GSPGEwlCweYt1mpimqLPcvYLS7/VgdqecM59eUgJGWYrng8TQ/g/ nqs6KCLZ+o9G6K9LOK7fAeK6LgWszQkTQfZMCqj2M+ZrD2lwfLq3RPCm//ePWT+IqinC TzPQpCQ7+mKw7PPGPW3JlR5YpILddv9SAZtP6GMbL9YeQAWPWhGQYwGOT4kyNcd1ijGQ LsGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=loBEqcBt; 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 j17-20020a05620a289100b006bb41a6959fsi9165108qkp.579.2022.09.26.07.34.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Sep 2022 07:34:27 -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=loBEqcBt; 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]:35242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocpBi-0005TV-Uv for patch@linaro.org; Mon, 26 Sep 2022 10:34:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocoKJ-00022A-D7 for qemu-devel@nongnu.org; Mon, 26 Sep 2022 09:39:17 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:50838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocoKH-0005fO-5b for qemu-devel@nongnu.org; Mon, 26 Sep 2022 09:39:14 -0400 Received: by mail-wm1-x334.google.com with SMTP id ay36so4546464wmb.0 for ; Mon, 26 Sep 2022 06:39:12 -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=PI0lzKVBNSGjEUI0jEXjRiLwo5dV6hN1IML/GBrLC6Y=; b=loBEqcBt2PNYeExZwPhAsE0NmiOkGgD5hTe4yKNpUZtD6IYaWU+8CtjQexetZrE5/i VHJMROOpBMYFL89CnyEvHOBEju6q4H0iPGKpZa3PyCUv5FZHLTmcekCDfV557FO+2Nmv scbsZc2psCZsu9QWOTU84uDZZHohmFTfbRwqCVeNo7oT4mks8ARcP1VpjfyfdWh8PDam Nb09uhNcbggyCR0d6+wjFGSCB43MizvL8yxg8F011FyoaR0f/asMHfzXWzwYqvacy6e4 PshRAOVmwUVEEyjH2TP1XzAKkH0qiOVc+NUS1/HU8yMQ8UAY1HTClVX9MhPndsJqeUi+ 0qaA== 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=PI0lzKVBNSGjEUI0jEXjRiLwo5dV6hN1IML/GBrLC6Y=; b=ZGMPAIQTW6DO37iqBZGG71VzJOyN+5fWaVRBPCko/NVVwV8etKVjrK7z0jYOcuHFrt kyEItHPM4D8ane5UMV4E8wUXRLoOJCBfMBA5PscVn7toHC33wVWyo3xPCV4VDzT+Iv3P 5PVnASVkAlq9v07YOswWX7H+cDtKD2GX1WsCq/ZZjaKfsi7loq9GD57VmwGpL1iTvTOS IA9DOg0HF+SqPPm23SpPZ8WLDND7VTRypfGY3ZLwd23WNAEYObySbVhVOzX5N4FKVfiI bMXf/y8NeVlHCyhPliFXtpioCcHw1pidt2lsGiMJC/wKYE6PdwS6Zr/TIDUjyfeQZzFA bCSA== X-Gm-Message-State: ACrzQf2oyqURja+XP3gYcT4+d2l4edWeOWxLsCx86eFKBcAYrLNmfMWW AHWEInj+OjDpIT81v4KeczLXxw== X-Received: by 2002:a7b:c056:0:b0:3b4:e007:2050 with SMTP id u22-20020a7bc056000000b003b4e0072050mr22266153wmc.38.1664199551517; Mon, 26 Sep 2022 06:39:11 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id ay16-20020a5d6f10000000b0022af70874a1sm18448548wrb.36.2022.09.26.06.39.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 06:39:08 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5C73D1FFBF; Mon, 26 Sep 2022 14:39:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: f4bug@amsat.org, mads@ynddal.dk, qemu-arm@nongnu.org, =?utf-8?q?Alex_Ben?= =?utf-8?q?n=C3=A9e?= , Richard Henderson Subject: [PATCH v2 07/11] configure: move detected gdb to TCG's config-host.mak Date: Mon, 26 Sep 2022 14:39:00 +0100 Message-Id: <20220926133904.3297263-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220926133904.3297263-1-alex.bennee@linaro.org> References: <20220926133904.3297263-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.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=unavailable 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) Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index 0bbf9d28af..fce677bd4a 100755 --- a/configure +++ b/configure @@ -2481,6 +2481,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 @@ -2565,6 +2567,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%%-*}