From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 079E7C54EBD for ; Fri, 13 Jan 2023 09:58:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236012AbjAMJ6H (ORCPT ); Fri, 13 Jan 2023 04:58:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234010AbjAMJ5o (ORCPT ); Fri, 13 Jan 2023 04:57:44 -0500 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85B29B856; Fri, 13 Jan 2023 01:55:40 -0800 (PST) Received: by mail-ed1-x541.google.com with SMTP id z11so30495535ede.1; Fri, 13 Jan 2023 01:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FL1qa9NWBiFahqVS7uPrQLa9p2D4H1P5I2LTXryXQM8=; b=ARafNnBkvUpZuUgUhwTMtWmlUTxe8k9Awg7mDkBW4XE7fV4hgc+MMv3psybNjMwnOu 2byufc4c6+I/xmjLTFvrk7Vhbc+Svp1cc/Kljo69cNNmoGJB14lKON0HMXp2M17E2WzB ZqH4GiltM5Oo1pIMjOe2+lTvBa0KCzEtZ/wSEcad/Zdocxxz2N+FrFGKwjfBQZwuiGiY WFmequgXUyblfncvW+B5XTOjJPGM1eFw1nfTvHKIQRaMiuPqfNmkKNL3wOwOM7smxPa1 C+AJiE9feki1tk4Szl5ChqzYiJjg6gPShOzmv0xY8CLkIALli1cG/F+bHYdhmtNrUPR6 IXAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FL1qa9NWBiFahqVS7uPrQLa9p2D4H1P5I2LTXryXQM8=; b=VXLGY/puv1aYRfFcURn4haqJZE24de5/K3Hlrz4KMrLkXr89OwG2MLEIy8qWRXEzTM SfpzMkQ9LCDu6vK1if15SNoF7fRaJyGJYhOxnxnTQfq32Y6ABX4xBrCWdaxCrabUpNKN 5BnWTHInhVo5g8BtqYLw/79OWQe5twpd4MxdwXEY/HTB+A1mV3+pzUzgd1wcoWfJUERS 4J1mpNFGsCF0tjRRcQwglajGk0ql8HuUULSX5n7ytutuZdP/GDQ9dRdQ9aZNOa1ynvu8 ozidYxFXNUDUov85DdSYIjI/kuX+0yYkHCRpPaw1DL5BIXuaf7n8rp4UcRPyj8tP70o9 iMUA== X-Gm-Message-State: AFqh2kq7EF9TeTC35s7I1c9JEYc3oU9qcFXlrdP8Iz3qpHvqlal1DRMU tZgu0nd6GBmKi6RPCzV1ko0= X-Google-Smtp-Source: AMrXdXvS+jngj72AsU1IPkwGiu+Kshv5B4H/Occn2QentEnULt1SpjMjzOl/s4hGDlAIxUOuIbsLXw== X-Received: by 2002:a05:6402:3894:b0:48f:68b1:db4e with SMTP id fd20-20020a056402389400b0048f68b1db4emr30375839edb.27.1673603739011; Fri, 13 Jan 2023 01:55:39 -0800 (PST) Received: from smtpclient.apple (i130160.upc-i.chello.nl. [62.195.130.160]) by smtp.gmail.com with ESMTPSA id v15-20020a056402184f00b0046c5baa1f58sm7949072edy.97.2023.01.13.01.55.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2023 01:55:38 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: [PATCH] docs/scripts/gdb: add necessary make scripts_gdb step From: Jakob Koschel In-Reply-To: Date: Fri, 13 Jan 2023 10:55:27 +0100 Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <1D726098-4129-4E9E-ABA7-53B72389C70E@gmail.com> References: <20230112-documentation-gdb-v1-1-09ab556e9124@gmail.com> To: Bagas Sanjaya X-Mailer: Apple Mail (2.3731.300.101.1.3) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 13. Jan 2023, at 09:21, Bagas Sanjaya wrote: > > On Thu, Jan 12, 2023 at 05:09:25PM +0100, Jakob Koschel wrote: >> In order to debug the kernel successfully with gdb you need to run >> 'make scripts_gdb' nowadays. >> >> This was changed with the following commit: >> >> Commit 67274c083438340ad16c ("scripts/gdb: delay generation of gdb >> constants.py") >> >> In order to have a complete guide for beginners this remark >> should be added to the offial documentation. >> > > What about below? > > ``` > Since commit , debugging kernel requires gdb scripts to be built > with "make scripts_gdb" first. Reflect this requirement in the > "Debugging kernel and modules via gdb" documentation. > ``` I guess you are suggesting this as an alternative commit message? I'm happy to change this in v2. > > Thanks. > > -- > An old man doll... just what I always wanted! - Clara - jakob