From nobody Mon Feb 9 23:58:10 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1610146057; cv=none; d=zohomail.com; s=zohoarc; b=kFS5lcNwgYRMJBDuDEH4WCVX/Sa991rGSlLVwEpjMhL/diibA2PPcif24sPitRI/yWYdjbjKKn+aOvNOsDOr4DLHousn4irqaWOHX0RTSFfxj1X53WBOZg7kONnE2fQ6QhkjAbEcq3ZrRjbJv3giPL1Rxjg13xg/mbp4ARhN0Ks= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610146057; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=1ISROrgxmTLwm8neDLFzzDk+uvwe3gX34uOZq7+aYuE=; b=TcCVe7sKooS/G3tc5xuwBUiD5HpEzDlKQg6cpJyztdpqstYUQcAgbLqnSKaS3/s+e4EmpoPS0+9wjHG/xHQS3WulQSCd7D50PVq4pWPSBAXxs/mNpkJ1mvMsJr2QxVebv5jNu50D7PwjCWsEWEjKNwSqjm499djk791rTJVS1Dw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1610146057797712.3264302297722; Fri, 8 Jan 2021 14:47:37 -0800 (PST) Received: from localhost ([::1]:33978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ky0Xf-0000it-7w for importer@patchew.org; Fri, 08 Jan 2021 17:47:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ky0TJ-0005aE-On for qemu-devel@nongnu.org; Fri, 08 Jan 2021 17:43:05 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:45758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ky0TI-0003Db-7o for qemu-devel@nongnu.org; Fri, 08 Jan 2021 17:43:05 -0500 Received: by mail-wr1-x434.google.com with SMTP id d26so10364198wrb.12 for ; Fri, 08 Jan 2021 14:43:03 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s205sm13563841wmf.46.2021.01.08.14.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 14:42:59 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2C2E71FF8F; Fri, 8 Jan 2021 22:42:57 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1ISROrgxmTLwm8neDLFzzDk+uvwe3gX34uOZq7+aYuE=; b=vYgy1a1AUa5CWFcE7ojOgCO7EALxr4HAh0H0DNtSNXNXmDwBSCkd3si0vg+rQ2NUdp dImPwVp8XNeG90dwZ5t9mFt+VLoDc1Wf11V/TLMbmpoYgxcpSao+JMjxbKtUnMDVyjK6 Bv7EhYxsy79FKNTRS5ZuFxJjVZpBxXUX4opNDANx8U6hsCjCNlOrK3/erWNXxEjRq4Pl sRqwnW56cptRX1PS2yb90TlKiGdDKVk8xyqJdemXlNk/1xwKlX0rQgmhecB+fQ+snpli xwgH2YvbXmi2ASQPHUGUflx6nadlB6+4KXBeaTejtAPKUeLLzd5pBYWaLa/qBzM2VpYP jVyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1ISROrgxmTLwm8neDLFzzDk+uvwe3gX34uOZq7+aYuE=; b=VMUauHnp9ghpuO5j3IhGFjeeYUZpLojajCJ5GTHY5ajUXY/m+5xuXYOpO2o9OIrw8q 9ufGqJqsFMNM4UAXlJrGLP9z77efr2OmT+dyntOnBoKwg3kyu7ONoij7pQg1cR0mvB0W LlaaVVn3JHkwVJv26p/dbPwrAUWLcACsBnYuPffwV2YsgsONtKG+DUNgl7ozv9rDcoSW mgfsgxs2q/CGWV27+mGnHvmVrFTLO8N6Z8mCIatxKQjpPqXBdELsF2kjoZUnGcwVsTbt rQdlrPKvfg7kE003SLv4fNMiXbPwqFSmRu3n0gkb3hLDt8zglzVirzPvFbUwf05Fabf+ 9zqg== X-Gm-Message-State: AOAM532PzfZUrQ+zU0IYu327ZZCoV4ajHdiQFBqWcXfnrDR99B6hmMCD rnbzcSGcjzwjWhtjqPtUMzNUDQ== X-Google-Smtp-Source: ABdhPJxlEdNPTpzzJW2Wgc3NQGINllGFoZMj2niEAEumB1VPKUsQObvMXSfBAgjvDxEx2hNVR3K4eg== X-Received: by 2002:a5d:4683:: with SMTP id u3mr5717699wrq.19.1610145782828; Fri, 08 Jan 2021 14:43:02 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 03/20] configure: gate our use of GDB to 8.3.1 or above Date: Fri, 8 Jan 2021 22:42:39 +0000 Message-Id: <20210108224256.2321-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210108224256.2321-1-alex.bennee@linaro.org> References: <20210108224256.2321-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) The support of socket based debugging which we need for linux-user testing is only really stable as of 8.3.1 so lets gate our use of GDB on having a relatively modern version. For direct testing you can just point to a locally compiled version of gdb via configure, e.g.: ../../configure --gdb=3D$HOME/src/binutils-gdb.git/builds/all/install/bin= /gdb Signed-off-by: Alex Benn=C3=A9e Message-Id: <20201214153012.12723-3-alex.bennee@linaro.org> Message-Id: <20201218112707.28348-3-alex.bennee@linaro.org> Signed-off-by: Alex Benn=C3=A9e --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 5860bdb77b..96cc7d9b9f 100755 --- a/configure +++ b/configure @@ -6239,8 +6239,11 @@ if test "$plugins" =3D "yes" ; then fi fi =20 -if test -n "$gdb_bin" ; then - echo "HAVE_GDB_BIN=3D$gdb_bin" >> $config_host_mak +if test -n "$gdb_bin"; then + gdb_version=3D$($gdb_bin --version | head -n 1) + if version_ge ${gdb_version##* } 8.3.1; then + echo "HAVE_GDB_BIN=3D$gdb_bin" >> $config_host_mak + fi fi =20 if test "$secret_keyring" =3D "yes" ; then --=20 2.20.1