Supercharge GDB with Python PyPi Packages | Interrupt

In a previous post, we discussed how to automate some of the more tedious parts of debugging firmware using Python in GDB Scripts. To make these commands more powerful, one could use third-party packages from Python’s PyPi repository. In this post, we will discuss how to properly setup GDB and Python and then modify the uuid_list_dump command from the post mentioned above to make use of a third party package installed through PyPi.


This is a companion discussion topic for the original entry at https://interrupt.memfault.com/blog/using-pypi-packages-with-GDB