From patchwork Mon Dec 14 15:30:08 2020 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: 343557 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3097252jai; Mon, 14 Dec 2020 07:34:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgmw9GttidySVV336f1g+S7e7Oc73W3sbBxFJrzJZa/dbRNQdU58yLPo89GNBvSXWgtFjA X-Received: by 2002:a25:22d5:: with SMTP id i204mr39857163ybi.0.1607960078507; Mon, 14 Dec 2020 07:34:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607960078; cv=none; d=google.com; s=arc-20160816; b=VvEAFx6hpXEXG1mZ7cuz/beHxjPzoGmhie47vCL8hjdpewZFyDitoiPloAnwwvK3Vb 6quFKzlcG68DOX9KTbdTrfpm6B5ZsuQGCYibLjevnPoLyO56vVRv5ixR/vW04iwDADOY Uqb7nrS9kr4925PU1PMpYuhSMvqsJBYunWYgpwtdBCCEQj/PhICM4cAB4eeheaCc32X4 iMhI4KcXuDMRyIjWels4P2w0jbwA/3KK8JobgcRa/dEXa75vZ7r+BBFS2qDvYMa2YwvF ZYDRqLDAvK1s7u9ASjduTIpG/dWYKXJg0wKODDZB+PO4OhHMC5KcusQcCBCDRJaCdUCu Whcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=tRKsmU0qEAtPOv4DujHsfCCXKQEIa7oRhg2frJNfMMw=; b=qmZFFf5YWrmfDk3F3uZTBB9Wbq7wsFehTroN+OG/2rcE5bJzK9loMFjBQqXjSTGXu8 /hIL3JN8OjWsz/sy2+XcrBQ0cziTsfykOTwyXhlXJXzgXs+vQkO4t93XORneRLXt9KPq 3Vvdy3e3xt0dx6I9enDHaaT4asabyqwW4ff1kpU1Frcp10sMSDdWZxlFtC2rk55zsyi6 oHy8Ik+YdxvRgSW87Ijq5ljsBZtEUNfOo6H5DV+BWJipvYdtPxGZNmCsBtwpIHQEdrTL +6tC5aHqoZxOUpiPwuOQeagBxZMWV/Fm/P++HjuOa+//UHgIULSIUOmz+l4JaBTzxSdA npDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AgTJa4H2; 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 r15si16436444ybp.407.2020.12.14.07.34.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Dec 2020 07:34:38 -0800 (PST) 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=AgTJa4H2; 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]:46038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koprx-0002wR-Uu for patch@linaro.org; Mon, 14 Dec 2020 10:34:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kopnp-0007gs-BL for qemu-devel@nongnu.org; Mon, 14 Dec 2020 10:30:21 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:35008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kopnn-000667-LW for qemu-devel@nongnu.org; Mon, 14 Dec 2020 10:30:21 -0500 Received: by mail-wr1-x42e.google.com with SMTP id r3so16865381wrt.2 for ; Mon, 14 Dec 2020 07:30:19 -0800 (PST) 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=tRKsmU0qEAtPOv4DujHsfCCXKQEIa7oRhg2frJNfMMw=; b=AgTJa4H2j87RYqtKV4o6KTnuDtE01uatIL8Yb/x2iMIpRe7PPcjiGuUst/jXT9juwZ GPZYXtNL2QF1+Mc89t8RgjYlEyMclVWP2JhdrJZ5gr8wFHjHQvLvTF0QI/f/tx2Uods/ UaTw8AVd5sKfrGrDmGgRIUqR+fUrpWlYOWsBnNYVz6FovS6/Fxd7i1rRMSfvkniU50ED mZ76IFXg1nowN/Nc1tV/+iOA7d7XaUxLeaXYPydrUEXsz2mdL0ciKDAw20E4PrAcLm0s kuct9Ib2Av1hItHOkFE/8J5wJUzflDXGjSYXCpGDX7hNlv8vXZQr3C60nQHeWRXlwJhv jnUw== 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=tRKsmU0qEAtPOv4DujHsfCCXKQEIa7oRhg2frJNfMMw=; b=Mu5AC3px/qihKUxPGlk1Z3n8oZzXOQr9PAJF6M3/kOb8m1Ugu+/oT7KoVk9LVHMfsk HE3iuayENJOpGjZTUk2HhLco3fBILT3MYj8MvCUnMU1yRxkpADNmJnbY7xQocs627Yfe dpf4rBex/GRcX584UJZG+6G2WzHPpPXr7JN8EUCG+Fbhm3fN7vGmfSCD/iCa/QTPBEk2 6qiQYwrLO51nA8zmC+aYCroeQJrAfDAQzeihhUEOdqGOp/9kYPMl9xHbfcdi2M7FenuM jAjyUAm+pbcu8oOMwDY8jHP5njhyfCtiIjk6K3uSlPM+ezvVonVVEBlrQ8tPBfTVgkLH r5IA== X-Gm-Message-State: AOAM530tyOU7pw8IaoM0EzQLatp8JWFQNvZ5rIczSo9IgY5kEC8JjuSS T1jWHstimcdhPSxdJStRM/NuRE3rxKtEVQ== X-Received: by 2002:adf:fd42:: with SMTP id h2mr15513769wrs.142.1607959817966; Mon, 14 Dec 2020 07:30:17 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q15sm31706534wrw.75.2020.12.14.07.30.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 07:30:13 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D45CE1FF8C; Mon, 14 Dec 2020 15:30:12 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 2/6] configure: gate our use of GDB to 8.3.1 or above Date: Mon, 14 Dec 2020 15:30:08 +0000 Message-Id: <20201214153012.12723-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201214153012.12723-1-alex.bennee@linaro.org> References: <20201214153012.12723-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.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_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Certain earlier versions of GDB have (possibly distro) derived issues when running against multiarch guests. Also given the problem of clashing ports it is preferable to use socket comms rather than TCP ports for testing. Signed-off-by: Alex Bennée --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/configure b/configure index 11f5878a59..f6347382e9 100755 --- a/configure +++ b/configure @@ -6721,8 +6721,11 @@ if test "$plugins" = "yes" ; then fi fi -if test -n "$gdb_bin" ; then - echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak +if test -n "$gdb_bin"; then + gdb_version=$($gdb_bin --version | head -n 1) + if version_ge ${gdb_version##* } 8.3.1; then + echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak + fi fi if test "$secret_keyring" = "yes" ; then