Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp794568imu; Thu, 13 Dec 2018 04:43:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/WzzZqt6sV6BgH7hvqgwsS4c6hVvTIfeUlsjoApac9Ztzck5BB+gvP0SvnQ4bcN/4Zeo0Oo X-Received: by 2002:a63:c40f:: with SMTP id h15mr82601pgd.27.1544705012251; Thu, 13 Dec 2018 04:43:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544705012; cv=none; d=google.com; s=arc-20160816; b=hm5eYYYnri2zLKk0HD9zMjoP0Cgpv5nkWC6dMcdFOmbnrxdG/6l8etW2kKK0KQwFYY N29lkoGQYpBOgyEH5IWjGDRPs58QKIZhzhnhevA3tJdFHu+5ne/C/OHS7HVESqxW18ye /Zvdcq1HKV8E0iMtd0BlR64J+i8QR0XoWisF3/kQ9W4LPsdJamB6txX5w2LTTGTzWL3d 8W3IHTJca1P26OsZ631kbvf9JQRQcOD2WMvk0YuVU4bP+WnwThfjTn2tafoSMbmqY/3U Li8uo6VQ2tKLcP3jfytF2xo1nz84Zq0JHhEVuM4kpHn7lnTQEx4LbBfLzqkFihWIfBAX BMkA== 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=WHz2jgBkZmKTEOjKSNezVMlxGOUitAURhKFHYdVjYpM=; b=ZdoZ9vnnT3erQHd7cp5k5AcgC4FMQYDHb4Y1j1xZs+NlkI/GW8C3WAbHmSSmK0krH9 e3uGUTJx/krx4dNRfzejsZvwWzSMuceGX2CsOZi1b0RWrBoGgfj54PQh58Sp1Z+13K1E E+bV6P3qTEzRRL7oOppBObv3xlajmzqKyi/sOBhVfWVnmj9XL6e1lDmRa6WcA+8Bsuns eQ74QtSYjuHPuIGOT56f/JpCT8I+EvdyDOTaScidYn3K0vkbgGhh//R5guf+PIOIndvX +PbpClCKNx2ndF8jGJrLHbRZoplBRRPjf4knP8mQiJphTvxZLPvOXa68a776oEE5aFAC MHnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=S5BaPGc9; 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 y123si1585556pfy.18.2018.12.13.04.43.17; Thu, 13 Dec 2018 04:43:32 -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=S5BaPGc9; 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 S1729216AbeLMMkr (ORCPT + 99 others); Thu, 13 Dec 2018 07:40:47 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:46824 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729144AbeLMMkr (ORCPT ); Thu, 13 Dec 2018 07:40:47 -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=WHz2jgBkZmKTEOjKSNezVMlxGOUitAURhKFHYdVjYpM=; b=S5BaPGc9SFzsyMkH79BLXdx+U mv7QshaHvtqal58jcwPJh4qhDkBL+ftfzuzvWlN/CsNBxh/Xy6LXj8udCAxTa9Qb7KiqMKKltenZ2 7pRUTKnb6AT2h5e10shbTjpKBs2jh2ILcTgOH+OycFmmE3D1IQGyJ73UeM0PoYswb5Mwo=; 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 1gXQIE-00015A-GZ; Thu, 13 Dec 2018 12:40:42 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 102C411254D1; Thu, 13 Dec 2018 12:40:42 +0000 (GMT) Date: Thu, 13 Dec 2018 12:40:42 +0000 From: Mark Brown To: Anders Roxell Cc: linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, mingo@redhat.com, rostedt@goodmis.org, akpm@linux-foundation.org Subject: Re: [RFC PATCH 1/3] config: provide a fragment to enable gdb for qemu Message-ID: <20181213124042.GG10669@sirena.org.uk> References: <20181213122910.24193-1-anders.roxell@linaro.org> <20181213122910.24193-2-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+sHJum3is6Tsg7/J" Content-Disposition: inline In-Reply-To: <20181213122910.24193-2-anders.roxell@linaro.org> X-Cookie: Some optional equipment shown. 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 --+sHJum3is6Tsg7/J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Dec 13, 2018 at 01:29:08PM +0100, Anders Roxell wrote: > Adding a fragment to make it easier to know what options is needed to > build a kernel to get the that you can debug in qemu. > @@ -0,0 +1,7 @@ > +# Enable debug info for gdb > +# CONFIG_COMPILE_TEST is not set > +CONFIG_DEBUG_INFO=y > +CONFIG_GDB_SCRIPTS=y Is this specifically for qemu or is this just good for debugging with GDB in general (eg, via JTAG)? --+sHJum3is6Tsg7/J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlwSU0kACgkQJNaLcl1U h9CJSgf+JoSC5WlMXPrwaqWqdvGhMgwkszPHMobyuzsHn3AKk0dpx5VUMUFmslzx P6mP2XvVdUZxdYHhxE07jGMaSEYKzMia4AFawsFfgH/+iFcR1heSqPfQtpLq24Te x1Nj3WK+GPrCqVpnVrUjNG7dT3o8HjxnN8mvOyQHgs1HCDt7ifQhqlQJugHPGRPc wzTOtQJyeMRSsADs1sZFeJTmi3yWqN5LmHsywpMQiQ3ZaAEiqbbu3GU8R5AacFjL LNsmFMB3TYAYIOHc8dl+fxZl2n6ndH5TzDDCpFDe85tDRam0n4jeQ07PtqHpm/ws W6SvU3XSsJ91W0sP6fgZkVe1t5FzvQ== =+pgG -----END PGP SIGNATURE----- --+sHJum3is6Tsg7/J--