From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1qGUQI-0004sp-TQ for mharc-grub-devel@gnu.org; Mon, 03 Jul 2023 21:01:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGUQF-0004sa-8v for grub-devel@gnu.org; Mon, 03 Jul 2023 21:01:39 -0400 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGUQD-0006ft-Bq for grub-devel@gnu.org; Mon, 03 Jul 2023 21:01:38 -0400 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-6b73a2d622dso3208277a34.0 for ; Mon, 03 Jul 2023 18:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20221208.gappssmtp.com; s=20221208; t=1688432495; x=1691024495; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HTKjlksW9CZ1PBDkHc/wfq4V3mb8hdwuaK7XROhjHeQ=; b=RVgM//GbFVO5EDDDxfQJjeY2tINzWPvzI4pvCnCUVSFgwIjdHOCjsW7Pb8GhepowXn dMnfU4D2uxQcm/oA/ow/io26r7TZerupTuc2wBjmDqpGJ+7eDCek55p4FGEDKDGCSMfx t1hx5Y2rENuBTAN0HpUbKhVCOUZYtJ29KnFTKUqsJUh+ygxKczfLHqG1FrhgRVLeQcrr sT6c2aQ2W+rgq8yOJRpFZnzBp8sSl3DZo/Ck0u2q4Ulw3VBhQNdZMb3ifBbOyxyxGw5p X95cEac2T59wOcSRpZjth7XjIXvYd6+swgSAVjYR5EiiSZZG+zxhk+b7SSYfSPrTfkdr sgqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688432495; x=1691024495; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HTKjlksW9CZ1PBDkHc/wfq4V3mb8hdwuaK7XROhjHeQ=; b=FRedSl06cvCIHSl48e89yJL5Ttk9+vD2VYJyzLsw7Xruk3skgn67vU/cvwyaJZ7xh7 8mn7N0zOnutM0Oi7FdehWGEtDF5NPQfU6UI4y4uo7EXdIv0lOrtKKXJw2Z1ggmqkliKh bNWwM4KvT1wclz40lKCmCvl4IYH1c9tf150fg2rPlgC7FCdTfIVxxR0ByS9DeMvDEwxq sJJBHlQigfmrOf5A+BQKaPMrXMxSVVAXK1unIh7XWUGVgm3te8rsuWT3eVqVib7oeuJT IL3tMu0uN6qEIAw50qPk1Bmo6BIpkyKVgdkoXr8TEkV+BcyOzUpSXLAEwGMVbotdRzwu 5QQA== X-Gm-Message-State: AC+VfDxAvH9lfH8r/jwjNvo7Gv3n7I/5Vb/UVMsMdelzn5BVsPZL0Ob1 B264uOeo7EsIJyKGBDATh4urfRFyV0mPraTiw0o= X-Google-Smtp-Source: ACHHUZ4tHSlJAPG3lwQiMKv7IB2xgqLkFrHvAsCU38FanBZIl7j+Ufwm9Rv9dFnzNMXPPL6AYGcsPQ== X-Received: by 2002:a9d:77cb:0:b0:6b7:52e3:7ae0 with SMTP id w11-20020a9d77cb000000b006b752e37ae0mr6222476otl.15.1688432495416; Mon, 03 Jul 2023 18:01:35 -0700 (PDT) Received: from localhost.localdomain ([185.220.103.12]) by smtp.gmail.com with ESMTPSA id t19-20020a05683014d300b006b87f593877sm5515709otq.37.2023.07.03.18.01.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 18:01:34 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Oskari Pirhonen , Glenn Washburn Subject: [PATCH v2] docs: Add missing assumption Date: Mon, 3 Jul 2023 20:01:15 -0500 Message-Id: <20230704010115.1231933-1-development@efficientek.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::335; envelope-from=development@efficientek.com; helo=mail-ot1-x335.google.com X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2023 01:01:39 -0000 Also reword a prior sentence to be more clear. Fixes: 5a3d2b4742df (docs: Add debugging chapter to development documentation) Signed-off-by: Glenn Washburn --- Changes from v1: * Rebased onto latest master --- docs/grub-dev.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi index 0834ca562ad6..84d19dece9d6 100644 --- a/docs/grub-dev.texi +++ b/docs/grub-dev.texi @@ -660,10 +660,11 @@ GDB is started from the @file{grub-core} directory in the GRUB2 build directory. GRUB2 developers have made this more simple by including a GDB script which does much of the setup. This file is at @file{grub-core/gdb_grub} in the build directory and is also installed via @command{make install}. -If not building GRUB, the distribution may have a package which installs +When using a pre-built GRUB, the distribution may have a package which installs this GDB script along with debug symbol binaries, such as Debian's -@samp{grub-pc-dbg} package. The GDB script is intended to be used -like so, assuming: +@samp{grub-pc-dbg} package. The GDB scripts is intended to by used +like so, assuming that @samp{/path/to/script} is the path to the directory +containing the gdb_grub script and debug symbol files: @example cd $(dirname /path/to/script/gdb_grub) -- 2.34.1