From patchwork Thu Apr 23 17:05:48 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: 185732 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp2295776ilf; Thu, 23 Apr 2020 10:08:12 -0700 (PDT) X-Google-Smtp-Source: APiQypIQMM7CTlA6ricRWaIDK+kruy0iJe+OFE4FRCGqmjaIA76/V6WSgCDkSJHHfG6r6iHzd9KO X-Received: by 2002:a37:8604:: with SMTP id i4mr4538049qkd.481.1587661691744; Thu, 23 Apr 2020 10:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587661691; cv=none; d=google.com; s=arc-20160816; b=YQlPLJ4moUKEPgQTE51NZV4cKXzzsNZGCBJPI6x+F3Drc2rkL4Q8/61qR+hc+qJa+/ XGgQdVnFFGThcsgPURthNeaMmYSkGp7MjWfdq2CF00asGF82v457ZghdqLUkZmj26wK2 4IgMeaUPYgYE/Q8rj15NGJN6gDF0HuAjQ87NtFLW90lapSQzZUuYfTsqSLYJo9TAeH6e Gn0PBThUxWhZKWD4ipebTnZCyzhKrrLj9VnNU8wEN7oPBo0YjKh0OBSQXg8rTK5DwoeU wBhdNIkEZQXagELoKgnWxsU+Iiq/ggH5CH39fa7Axo2K+cxaIAJ2GsZMFw15hiO4eAUN nrbg== 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=yWh3aRGKef9xVplQd968UKYGmgCSPBAT3qOdlODDYkY=; b=JOTK1wGt5sayg0o9uEPNnPwrr2jxn1yl2iUPy4Kn6MhCLFOE+stiU85dxfOh96e5r1 w8Num15Gwb2hei/ARYlQMplmdQJGEoTPgd0H0qIfZlPKoOCgH5IEr68+OeAQOAsj8/Nh 969wlIZoIUyQhoZ0yFoS0GHaUAnygrMT9qK7slHI4EJzBBx9dZ0qL3CGjBiEepeQy64N XoBSGVz2QG3G8TP6go+k+kw89EKPAcaOoUHZcbA+LLYI5PjKOtRNs6MTMp5sD2ZRCJow Qt9KQVUm2jzUKfMYptyxB/stDlQSH8UBNMd5SAfkyKkRjUQJgz2SxusYn/Vbx05bxNHc yemw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=blmg5Yts; 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 x23si1744853qtb.253.2020.04.23.10.08.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Apr 2020 10:08:11 -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=blmg5Yts; 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]:60606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRfKc-0006B7-VU for patch@linaro.org; Thu, 23 Apr 2020 13:08:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44646) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRfIi-00016g-5q for qemu-devel@nongnu.org; Thu, 23 Apr 2020 13:06:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRfIg-0005WL-T5 for qemu-devel@nongnu.org; Thu, 23 Apr 2020 13:06:11 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:35802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRfIg-0005VN-FT for qemu-devel@nongnu.org; Thu, 23 Apr 2020 13:06:10 -0400 Received: by mail-wr1-x441.google.com with SMTP id x18so7716598wrq.2 for ; Thu, 23 Apr 2020 10:06:10 -0700 (PDT) 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=yWh3aRGKef9xVplQd968UKYGmgCSPBAT3qOdlODDYkY=; b=blmg5Yts3E2FGVs0grpxsfYS8jud8lWn3j+SF33/gpZRJABufOPfba5LX5OAuhWtnJ arbfWMWXeI5/CuA6Cp0goThYJZBjtzmGkE8/tQLdTjel8JA4LYeOUNo1htzx2XALctUF SMq2rnmHj9LaHMODFjcKh79XIR3kFcNrKc38CGeq/9bTQNO1hMqdPvzIkPQXJoNy8t1b 3lAAePsqtGKkBnxqLAVzzdJ/07Como5kE8X4GJhtdejnPLseSSreelYH7FepII/7fdTB e+Btyi5gT9OmAWD7Yaw1ywORdv7kRUyCARDABOx5OandNZh12d6MP8GRdinDWni2BAfh mJhg== 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=yWh3aRGKef9xVplQd968UKYGmgCSPBAT3qOdlODDYkY=; b=KA9Ij5fIVZNitHs62tDPDArtaD/F6JhYeLB6OkpQQcfuEmOlf54rvpm222/eUV9Gws EecsuU5Bi1HMzNVXnm0JPZU+67ZclbdB8UgbobS/8XghZL3OeMSg2WEdCOf6YrWOPRvK kq4P6NFwm8Pswpd9knz/C7DxC1JVmFvHXbRzo/FhYbejR7uTc1hYXjEo9NAHmBc0u811 146A2zb9BQmGxHT+cUnUf+kTpfg8eS5/Yviy8QWUOSIroEbpmwsfP7Et9aLCJ/QmszJR SG7NC3Ffvba8sokVduspzx3WvuSwQwiBZi9nYrxdYXPdRbH56VOPf4kyQmUa9jNHJD1K QTyA== X-Gm-Message-State: AGi0PubnlCf6PIo3w0sO5HPkgVppaFg5GZ4S6ekVi6th1LBYHmC1oklE FnZhXc+K+f/NYOYch4mK4XJjaA== X-Received: by 2002:adf:9168:: with SMTP id j95mr5724202wrj.145.1587661569041; Thu, 23 Apr 2020 10:06:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h1sm4686289wme.42.2020.04.23.10.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2020 10:06:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B1C741FF91; Thu, 23 Apr 2020 18:05:57 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 05/14] configure: favour gdb-multiarch if we have it Date: Thu, 23 Apr 2020 18:05:48 +0100 Message-Id: <20200423170557.31106-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200423170557.31106-1-alex.bennee@linaro.org> References: <20200423170557.31106-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::441 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" As gdb will generally be talking to "foreign" guests lets use that if we can. Otherwise the chances of gdb barfing are considerably higher. Signed-off-by: Alex Bennée --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/configure b/configure index 23b5e93752..c58787100f 100755 --- a/configure +++ b/configure @@ -303,7 +303,7 @@ libs_qga="" debug_info="yes" stack_protector="" use_containers="yes" -gdb_bin=$(command -v "gdb") +gdb_bin=$(command -v "gdb-multiarch" || command -v "gdb") if test -e "$source_path/.git" then