Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3863349imu; Tue, 18 Dec 2018 05:31:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/XocSvrdJMW4tdzYl+u1ZvTfNXgPj1IuqqwrWsFc2kRrVFyzSHcmfcsybMrNXrfPGk/49Ov X-Received: by 2002:a62:8893:: with SMTP id l141mr16455081pfd.1.1545139860216; Tue, 18 Dec 2018 05:31:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545139860; cv=none; d=google.com; s=arc-20160816; b=omVL6bFRv+AllC25yYp3a9eiMqf+o89T8PvTg6GhjNcHYhOHdFNhTtpArAD+lFKasP 45Vs8l3aBXUFtOSR8g/SuJaVUic3kNSZsBja1RjBAcI7uEhTJgGSdggmlmjD/XksOi39 GxmSFI6fDoDfbodgszp89wItfFJvS49CU6n78ly3a0j0QWgcG+NhrcB6l5bTor2aPpjc ANstqL61jDiivEgtzPDvPHaUVRaZtQBjlTJXOx/cdxu8YbKUuEZD9lZJmoY6N3g/TU42 L42DKwVuR2F4HVHzKKP8ss8r9zMC0dJkRPalKFdJ2baXBlETmBMM4PFE/qWZOYlodXYX R9Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tRfql5Xs9HQbRoXDjXErgH2XL2W2LOngSW68cwlGLS0=; b=tKjRiip1ZHGu+PLiId7euVhSfPcXi+71L7lYnHb8JcNFGRvO2rJyS/5cSz4RrYv2DG ixfs+7mXYhWMi5gT686cSeqLsmBe7nnGwI+Rr09xAnZ2YO/fnfwN/266aa6URlid/Pfz gLRkd/iOIzxILUpJ+FVfTlKm05JwQ/daQ8mSqZplijF2ZvkM3kSfhIhoVypMbuXa1MBD 8EixwXGZYkpHLs19Zrq8xIvsW4i0l4S8tiboEUI4wov6Q24Ao+dP1CuPOH6AfuY+yEY0 nQSVYsXATs4JMdtwZjN6Wcz+ulVIG7FqxRNMHhtd88UujP+CLokJYM6SelKP0f90p8Lm Clhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=D7IWkEkn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16si267769pgd.117.2018.12.18.05.30.44; Tue, 18 Dec 2018 05:31:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=D7IWkEkn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726686AbeLRN31 (ORCPT + 99 others); Tue, 18 Dec 2018 08:29:27 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:41014 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbeLRN31 (ORCPT ); Tue, 18 Dec 2018 08:29:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tRfql5Xs9HQbRoXDjXErgH2XL2W2LOngSW68cwlGLS0=; b=D7IWkEknXaKIJiw51BAztHpVb GTq3s/g+NErqcpqAsVB5bfebZARbghHKyjenVhQMBUwkJX4yNelw+z8DNPfIao4cgDhh9cKw0QK2i 1oc0bsIUAYZCXcJuJs1qkG0MscUvJyoh42WkyiBivu1+Hf+52Oiix61HGYBa1YPjuT97w=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gZFR4-0006vd-8V; Tue, 18 Dec 2018 13:29:22 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id C3A891125500; Tue, 18 Dec 2018 13:29:20 +0000 (GMT) Date: Tue, 18 Dec 2018 13:29:20 +0000 From: Mark Brown To: Arnd Bergmann Cc: Anders Roxell , Linux Kernel Mailing List , Catalin Marinas , Will Deacon , Ingo Molnar , Steven Rostedt , Andrew Morton Subject: Re: [RFC PATCH 1/3] config: provide a fragment to enable gdb for qemu Message-ID: <20181218132920.GC6537@sirena.org.uk> References: <20181213122910.24193-1-anders.roxell@linaro.org> <20181213122910.24193-2-anders.roxell@linaro.org> <20181213124042.GG10669@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bKyqfOwhbdpXa4YI" Content-Disposition: inline In-Reply-To: X-Cookie: Do not attempt this in your home. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bKyqfOwhbdpXa4YI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 18, 2018 at 10:07:21AM +0100, Arnd Bergmann wrote: > On Tue, Dec 18, 2018 at 9:45 AM Anders Roxell wrote: > > On Thu, 13 Dec 2018 at 13:40, Mark Brown wrote: > > > Is this specifically for qemu or is this just good for debugging with > > > GDB in general (eg, via JTAG)? > > I haven't tried, and I don't have a JTAG so I could test it =/ > The DEBUG_INFO=y and (as a dependency for that) CONFIG_COMPILE_TEST > are definitely needed for all GDB operation. I would assume that > the scripts also work with any other gdb environment, but haven't tried either. I'm fairly sure the requirements are identical, though it has been quite some time since I tried and I don't have relevant hardware any more so can't confirm. > For CONFIG_RANDOMIZE_BASE, I'm not actually sure if that helps or > not. I think I originally suggested to Anders to turn that off when he > was analyzing a bug, but I don't know if it helped or if it works just > as well without that. Yeah, I'd think it'd be helpful to turn that off. --bKyqfOwhbdpXa4YI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlwY9jAACgkQJNaLcl1U h9B/Zwf8C4cYwx1K9uypGPsaSQ3F/rBtCFDdfBPC+H/4BCdMceDK96oa9QogdaZK rLSEQsyDyOwKLzdiQ3A534jEVnIkJrczuA6kN0IgzCHCy+MBgeuTnhKqgy7w/qsv lfrHEEwtjk4vqyrhhe0C2bdoDnHRkchc6z0lDedDdP2DpOTMkcI/8n3D/4GXstUm /M2hnoBYSVE/NMOp678W93EAJBkNhsBHOPSac1n9E+gAhoPhR83I8pNs2fxbN+fX T0aAlPgtThxe9/9xp31n1OjS/T9kIPXyU/zb5IOvNUWZhwgb/Uzon1F+pcBlbBqG HTBA1uHs/QXZXCHXbfEBmLA1hceUQg== =FHMY -----END PGP SIGNATURE----- --bKyqfOwhbdpXa4YI--