From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1qIuTs-0002Yz-Hg for mharc-grub-devel@gnu.org; Mon, 10 Jul 2023 13:15:24 -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 1qIuTq-0002Wj-BV for grub-devel@gnu.org; Mon, 10 Jul 2023 13:15:22 -0400 Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIuTn-0005pW-PV for grub-devel@gnu.org; Mon, 10 Jul 2023 13:15:21 -0400 Received: by mail-vs1-xe2d.google.com with SMTP id ada2fe7eead31-440c14d6a5eso1419995137.0 for ; Mon, 10 Jul 2023 10:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20221208.gappssmtp.com; s=20221208; t=1689009317; x=1691601317; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LWDa/dkShGORt4YZYoKFtEkGbfaMdFaOyxJPfDtW2sM=; b=GwU7w6RkwdMWg9UfMPXSeTngavNHZyd2VpqLKGzeYxAbB5lUZGRnuimLxMvfwS7Glh X4WwRQaWTTYhiGvkRZODk09Ies6sU7b0BNpJVG5pJ/7RbdFPJ1/d4D7E8HW2sbZ12TKv I30m2QD5eGW2apVL5196goSUY2/o5k6yQ8rOwUF6eA59UVOA0CmuBrgBWnNd90n1sK9z 75rEEzKlQHBHrRMapYQysoklZcyzIGCPSKNnrQ6PCwsS1kbgDWYg54z3Y2AQJIoKBHmk COO3KS5Srbxqh0LCfSsPOf+pgF/FmKEU/oE0SM7ngd2GSbHk4WCKkyM5xZeVA/KuhfVT qkXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689009317; x=1691601317; 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=LWDa/dkShGORt4YZYoKFtEkGbfaMdFaOyxJPfDtW2sM=; b=XtrDxvNcwKhVwYDfasszx82rMzx7LO9RIx7obefJD/dyIRigeDRWT4RZ15MTd9TKW+ 0+ULeySm7WhS00XXWoThqCHQ1k8fgBoRoYrvHLzNuoWpLaDUlYoGQsQY3Ws/i7LYsF+y EeNuh+dLn6NJoXI3wmjMQC/1HSALt8EfxHVGgCGPe4SvLDtIujTec6ZVFgG6OYZ7iwek BAjO7X6+i2eDztVKR2afdFUDoP9m52f1vIfpPg9+nhjgkFNROdiYEAhl/m0ROstbwsWP 322Zhts5bHjUCfd6FkYmvvOZEBuZGMnbW0T64yfjlEqT11+y4EdN8vp1DqJmJ1kYU2hK ffWA== X-Gm-Message-State: ABy/qLYii95qoDg/ntukhSmN6G7E9LxxypLor8dkeLcVqQ52yicPByJ7 d7enMroWoeOfJ6YZa0+4F/4KjTpZ8QynTXqlH4c= X-Google-Smtp-Source: APBJJlEXyvqJnzSCfR+WGFLexoZ9OozAPdwOf2lEQr23TqPZZzrRCwv1dMgJwv4/GrqVl6sSA0WzyQ== X-Received: by 2002:a67:ec82:0:b0:445:209:cac7 with SMTP id h2-20020a67ec82000000b004450209cac7mr5897108vsp.27.1689009317712; Mon, 10 Jul 2023 10:15:17 -0700 (PDT) Received: from localhost.localdomain ([37.218.244.249]) by smtp.gmail.com with ESMTPSA id z6-20020a67ca06000000b00440b1417dcasm40969vsk.27.2023.07.10.10.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 10:15:16 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Oskari Pirhonen , Glenn Washburn Subject: [PATCH v3] docs: Add missing assumption Date: Mon, 10 Jul 2023 12:14:48 -0500 Message-Id: <20230710171448.1450168-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::e2d; envelope-from=development@efficientek.com; helo=mail-vs1-xe2d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: Mon, 10 Jul 2023 17:15:22 -0000 Also reword a prior sentence to be more clear. Fixes: 5a3d2b4742df (docs: Add debugging chapter to development documentation) Signed-off-by: Glenn Washburn --- v3: Fix rebase merge error (scripts -> script) v2: rebase --- 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..f7c944dc9e20 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 script 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