Skip to contentSkip to conversation

INSTALL: Document programs an packages needed for using gdb_grub script

PATCH In review Glenn Washburn 2 participants 2 messages Mar 15, 2023 – Mar 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 INSTALL: Document programs an packages needed for using gdb_grub script

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.

---
 INSTALL | 6 ++++++
 1 file changed, 6 insertions(+)
INSTALL +6 -0
index d1d5a6b88..1c54bd8dc 100644
@@ -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
 ====================
 
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Glenn Washburn

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.

Thanks,

Daniel