From patchwork Thu Sep 22 14:58:28 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: 608217 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp399682pvb; Thu, 22 Sep 2022 08:17:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6r5r2Pmg/TESheFWlnILrAKJHYsRbKiKAaDAgoy315+MC0nllQnL6UW+qFeXoqaRv/BRa4 X-Received: by 2002:ac8:5a47:0:b0:35c:c82e:3c37 with SMTP id o7-20020ac85a47000000b0035cc82e3c37mr3278248qta.451.1663859824757; Thu, 22 Sep 2022 08:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663859824; cv=none; d=google.com; s=arc-20160816; b=hakYaL5Gx77cPSLM+VVOR1WjiBYLVIjtHYPE8tjIWOArW3aF4kFMWa3ODNwvj9YT8R nguWy+WuHjxIFTofUhtqvSWMsXBVR4RLGxpJrMMIMFqNeZLUGH3orzZwkJzREpqQlRhk JR2YxIEl1ARhRE99WhxvUDSzc6jrshcpWI4rixptU/q3e+r028JRQLdRwIvF1PQUBGN7 AI5B1ZCaLAIBnRgN3aQnpoJo+EI+i3AbP+3poCoOMGRzzLr2/DvsEWaqYROTmUQkpqyx 34AAAqnJpNFupa64SC8uxI8FuorSe+kTlKLCsSei9EmpPv0PMOITlwD/4IWWVzH/1m6X pjbQ== 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=8sQLXny03pJvTAoQ1h1P+6dtK6yjUsxRfofzOnIWm9M=; b=MO3eMBZH4q8R82xPNsfdmFHBCdiIkMX7SXyLKS7vaXTKlcNnFslTj9nIFdBQQkHC4L pNiD0yaC1rVWbRoJC2SSKHZePHF1n9htWHCXH+3zaivHfVj6rFK9QrG+s3VsFfQy0lef u72vPWGbcX5MgpyAoL26yxt2uoGMxNdFi7WGligs1F8n+9aUmGoD/DwkpHBy6wphlRFe iZtVP+eQNdwYC9A5Io/y0e27Q9bZBJtXDeviVwGWv5QGQdjmHXNbHMWZkcRw4mFcKYJN Q3jex0Rp6Y+QPanCJ42PmO6tBN9WTcaF+aoOQ2GnljqyBhyVmks2khudBLZSmFo/8+Jg MG8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Uau8ZezT; 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 l28-20020ac8459c000000b0035baf834a59si3432515qtn.221.2022.09.22.08.17.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Sep 2022 08:17:04 -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=Uau8ZezT; 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]:56186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obNwm-0004a1-8T for patch@linaro.org; Thu, 22 Sep 2022 11:17:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obNf3-0001Kk-N2 for qemu-devel@nongnu.org; Thu, 22 Sep 2022 10:58:45 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obNex-0000vt-5l for qemu-devel@nongnu.org; Thu, 22 Sep 2022 10:58:42 -0400 Received: by mail-wr1-x436.google.com with SMTP id z6so16052169wrq.1 for ; Thu, 22 Sep 2022 07:58:38 -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=8sQLXny03pJvTAoQ1h1P+6dtK6yjUsxRfofzOnIWm9M=; b=Uau8ZezT84JHrq90e9goYQ/B/umwmDDwMUDOVBbPZh5424xmLYgGtmPsULrHfb0TB4 Zs34+Ga547APfPzqtgeNI1JEOGM1h+hcofacItlJAooUHccIU7Zv/FRbFCm5GAWqtScD 0aC0UzBnn+ThcKi8s9GWIkOkmMwPcO+nM71Y/hX1ZE1ARXeyhejTfMFA325lfdb8zHGW OJzt7BiVDcdCCjYU+1XoyLP/+j6gLR81ac0ZL/UmEklnIE50EKkFEEhIGfrHDZ/KGIun tOHDx7owT5XqFI57irAIgxZyN8Q2GWs+L+PQ1adQvXazjSqBD8tQozNCOXN1+Oa3U4Dy +hWQ== 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=8sQLXny03pJvTAoQ1h1P+6dtK6yjUsxRfofzOnIWm9M=; b=6sYq8cvD30gbJ6zcJG0i5En4Bcy/BScroInDRRlmK7IkLy6aUaazd+J8sd6dLn8ZgR 74PZqPVKjzvAt6IPLOOM6n0DcEUdIba/Vxfyrp0MBbPiQVqLcK9momM/5489059qmAIi ycemuHWBLfv5B/Q0Pg6ieitDUjWLgGUCy/VEAc+y4VbmADjeySIU/JAJtV4N35QZVrUL 1sBMuYEgjjTHVkv/dnI7dlRUhuY+z3iaGvD5iW4brz/XjjokXee8GAs3hxi/no53mXlf K65dJK32YtFAq0JdM9k+BwzbgEY16zRdFRG6oSa8HoGQgEVc61sTy//wwmme+YcvThaZ N31A== X-Gm-Message-State: ACrzQf3hQuKc5zMci+fKynhEsenETPsT10/Qh6OS8NZaojl9ktG5yExJ 9ixyMUukjx/+2ybyz7Hg8XtLsQ== X-Received: by 2002:adf:fbd2:0:b0:21e:7f74:5df1 with SMTP id d18-20020adffbd2000000b0021e7f745df1mr2355329wrs.43.1663858717808; Thu, 22 Sep 2022 07:58:37 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id f11-20020a05600c4e8b00b003b340f00f10sm7625939wmq.31.2022.09.22.07.58.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 07:58:35 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C843B1FFBD; Thu, 22 Sep 2022 15:58:32 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: f4bug@amsat.org, mads@ynddal.dk, =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH v1 5/9] configure: move detected gdb to TCG's config-host.mak Date: Thu, 22 Sep 2022 15:58:28 +0100 Message-Id: <20220922145832.1934429-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220922145832.1934429-1-alex.bennee@linaro.org> References: <20220922145832.1934429-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.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 Reviewed-by: Richard Henderson --- 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%%-*}