From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pcIMc-0002sF-FR for mharc-grub-devel@gnu.org; Wed, 15 Mar 2023 00:03:46 -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 1pcIMb-0002s5-39 for grub-devel@gnu.org; Wed, 15 Mar 2023 00:03:45 -0400 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcIMZ-0003wT-7k for grub-devel@gnu.org; Wed, 15 Mar 2023 00:03:44 -0400 Received: by mail-qv1-xf32.google.com with SMTP id ne1so14749358qvb.9 for ; Tue, 14 Mar 2023 21:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; t=1678853021; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fBc3hi36vpbo9VYbZITOgp6OCqQK5LUSr5NFiXa7f0Q=; b=dZiI322+r4YuLaCSXBSxHMrf0ovT6ELL8vdOqnSHgPxrU4kEGNU3xYaJq9w8uHz8Ay uNgySl9WahRnaflH7CMHXFlxrxRXPK/24Jl1BB53VbjkhtFY8lr9bAfuPkurMvK/iY6Z oK/ifjC73KQBP99eRFaSp7cqRWmJ/1F8C7OUpQDOIi8NRA0vGrSfucGiCAhXroBKh0bA ml8yu9LwgwTDTgwrh8wVWn77fOb2QRxT38WvvdGPLHq0enQvCwDNRebU6WerngCx5TBN vRr1iVqYNpaksRvBHRiQMOWqSlMZjMjCsryVPbWM2RsvKMnXyJZd1RQOsPT5B1Erftq0 UmeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678853021; 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=fBc3hi36vpbo9VYbZITOgp6OCqQK5LUSr5NFiXa7f0Q=; b=eJmMpSwXcsHXE3TPYI8ExFPnM2FOD4lQNd3Weh0jilOGaWWe0N384LZ5h7U5Iuzzq6 vkzZHBqnVbhsCn6P0kk3QqjWzWWnghl3BbO3Jthc9kAkFDL9owK5jmozPUPtjOuPAFcq ClqIfj28vAbr+y33c/5Atp+AlBZLbsKZ2xcq3lTC5PdIHq350TJnosC9uRV7fagiWVfM 5qsM/eicJWW2X34w9xQmoQryuvOiQH6aAA6FusXYFfytJ627aXuhW2n4pFFYqN4fSBHb zGboK6ac07SKi4cwXss7R/BAbxzFbbQAq3UCf+A06k0XNNJTwJBFeYoqm1PU61qagOGJ zrjw== X-Gm-Message-State: AO0yUKW9mBGW3fGs88KpAi7Pb4kTd4Zx6glwl56CDR6/X5RR+yBj4lWX Vk09b1j8jxEpn4eE2xvmuTuR0X3eRqx12z344dByxw== X-Google-Smtp-Source: AK7set+AarRx31DRL5po4HcrQWlAdPWoJgEZ1qxMICfr0b5VoWqgeKhtjBV1DkPKpNwykCLKhvpX5g== X-Received: by 2002:ac8:5b84:0:b0:3bf:d48e:26c4 with SMTP id a4-20020ac85b84000000b003bfd48e26c4mr69506520qta.39.1678853021690; Tue, 14 Mar 2023 21:03:41 -0700 (PDT) Received: from ubuntu.. ([37.218.244.251]) by smtp.gmail.com with ESMTPSA id d3-20020a37b403000000b007426ec97253sm2986523qkf.111.2023.03.14.21.03.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 21:03:40 -0700 (PDT) From: Glenn Washburn To: Daniel Kiper Cc: grub-devel@gnu.org, Glenn Washburn Subject: [PATCH] INSTALL: Document programs an packages needed for using gdb_grub script Date: Wed, 15 Mar 2023 04:03:11 +0000 Message-Id: <20230315040311.77133-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::f32; envelope-from=development@efficientek.com; helo=mail-qv1-xf32.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 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: Wed, 15 Mar 2023 04:03:45 -0000 Now that the gdb_grub script uses the Python API in GDB, a GDB with Python support must be used. Note that this means a GDB with version greater than 7.0 must be used. This should not be an issue since that was released over a decade ago. Also, the minimum version of Python must be 3.5, which was released around 8 years ago. Signed-off-by: Glenn Washburn --- INSTALL | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/INSTALL b/INSTALL index d1d5a6b88..1c54bd8dc 100644 --- a/INSTALL +++ b/INSTALL @@ -95,6 +95,12 @@ To build the documentation you'll need: * texinfo, for the info and html documentation * texlive, for building the dvi and pdf documentation (optional) +To use the gdb_grub GDB script you'll need: +* readelf (binutils package) +* objdump (binutils package) +* GNU Debugger > 7, built with python support (gdb package) +* Python >= 3.5 (python3 package) + Configuring the GRUB ==================== -- 2.34.1