Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3600969imu; Tue, 18 Dec 2018 00:46:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/WsEA1gL7mCUK8KcDgkNGJR4wVSFifshe6LRvEZbu3qoVpHA+64f9VvZTQ7umpwvNvYReU0 X-Received: by 2002:a17:902:2006:: with SMTP id n6mr15969111pla.66.1545122812669; Tue, 18 Dec 2018 00:46:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545122812; cv=none; d=google.com; s=arc-20160816; b=u43PHeKyHfCIGqUC8POC3gD7FE8cYw32qaa4HjAiVk4hWrqhpqbEIH9xTJ8E2w2Ebu Df5b8tisRPUeBe51AOTYhOx7NRTtBySOhpOaVxo6nTz8eAHfOVQ8AE0lZicZQq4LYxiG gVVt0yz1C881cf5UIYmvIcVw04+uO7foFV1XJvvid2JsqiS46z1+LEGq5QrkIzvXUotE wHOoEQc5TP3zei16wD6jNy20NDSpTmDmzOy0hmdB0hFTStV+hkO/72XJwbQnK1H2hMPh +xxd9w9MqW2iRPMdbAWjaDG2LgfxwOB4O5MEFICLaF5sVTc3M3a76MZpjw+JV/I5orUv nZDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=KJbMnFFfPxYHVkz3AOwOK9IDF8Rc2s84M5Quhh5FO0c=; b=oDLfKbgUWF25QB0hNvRJPofu3k6TUgwFZmCG28e0U19SYZ9QL07e0LdjnPHuFBsuNW VCYDqhCb4FfmFlRiF9M+AsD8enxF0DNpa/9ptloL4i0UUYlbn6IKfG3bPJXZJFr0jtxz uzSbn4qxCZXJgtJiHQKiKL1g9zr5HAl2kU4fYep7E22dVB+zLWIGcDj5smvVWNiXsl4U LLzNGvONF+Nji3qWJ3gV94qGWY+JqKqbCz5siDFWKJ2BwKPwhmBgydi0JkC7NaqbAwjN H7OTp14QzQrmbXHJZ6yMiHkc6avmsV+cxTGloc0GkbB8BWa97IN2uW8gLmSJgRV8q5x7 qEBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BORfNbWK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w14si12327287plq.145.2018.12.18.00.46.36; Tue, 18 Dec 2018 00:46:52 -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=pass header.i=@linaro.org header.s=google header.b=BORfNbWK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726474AbeLRIpq (ORCPT + 99 others); Tue, 18 Dec 2018 03:45:46 -0500 Received: from mail-yb1-f195.google.com ([209.85.219.195]:35489 "EHLO mail-yb1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726316AbeLRIpq (ORCPT ); Tue, 18 Dec 2018 03:45:46 -0500 Received: by mail-yb1-f195.google.com with SMTP id z2-v6so6184288ybj.2 for ; Tue, 18 Dec 2018 00:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KJbMnFFfPxYHVkz3AOwOK9IDF8Rc2s84M5Quhh5FO0c=; b=BORfNbWK5n+85Uc2XNGLtoP0/J/QZCh9/DjO4u3OvYhYfk2JvuRqTOSeZPLlcmHXOf Plz5zCZAaQ5snliGI2j7hG3l7bkJeHRpkELtQuY/jhdeDs5qmm+XOHdDevWoIa2NfIWs mCYxecEDqr9jXrMEp63Rd0akHtIpiBkMUB3G4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KJbMnFFfPxYHVkz3AOwOK9IDF8Rc2s84M5Quhh5FO0c=; b=D71LpB1KWdSk5gsRMTc5UMMTFqqmQ1s1OgahEfQCoBn05CKf8kapqZw5BQTSIX/ykD 1u5UJ7wYfZLMdMJdLDlUxx1hs1Lf2RIuBeL6eDdcHRcmnS56O6swBkOooJlHxd4RCVIK 5q2mM1E297usM+qvvPF7H2QwXyhk0jrGHLZtB6ANpsxMPcCiF11CyoVpPnz7ZyMFPm/W aPZST9pzLXDDMLscsFCYVpuLoNaSqZg7/uxK+a+/FW6nzAhnPwGQTnJDZT/hDgqrZz9z 6secK52RdLMgIbHqjm4T13mS9nkKb0kREH/AY9zuuUZcwFcMXVxbij/pKj45tmEOuYoI +vow== X-Gm-Message-State: AA+aEWbI07/A370J+cBsiKTYszepAZIJtlpgL4a1b5QCunH1iM2gu+gh kI6DhAotylyuw0V0plosgbJ7DUg11badlaxPonRIyw== X-Received: by 2002:a25:af04:: with SMTP id a4mr15686432ybh.195.1545122743715; Tue, 18 Dec 2018 00:45:43 -0800 (PST) MIME-Version: 1.0 References: <20181213122910.24193-1-anders.roxell@linaro.org> <20181213122910.24193-2-anders.roxell@linaro.org> <20181213124042.GG10669@sirena.org.uk> In-Reply-To: <20181213124042.GG10669@sirena.org.uk> From: Anders Roxell Date: Tue, 18 Dec 2018 09:45:32 +0100 Message-ID: Subject: Re: [RFC PATCH 1/3] config: provide a fragment to enable gdb for qemu To: Mark Brown Cc: Linux Kernel Mailing List , Catalin Marinas , Will Deacon , Arnd Bergmann , mingo@redhat.com, rostedt@goodmis.org, Andrew Morton Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Dec 2018 at 13:40, Mark Brown wrote: > > 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)? I haven't tried, and I don't have a JTAG so I could test it =/ Cheers, Anders