-
Notifications
You must be signed in to change notification settings - Fork 794
Obtain the Python version used by GDB
Andrea Cardaci edited this page Dec 12, 2019
·
1 revision
The system-wide version of Python is not necessarily the one compiled with GDB which can be found with:
gdb --batch -ex 'python import sys; print(sys.version)'
This impacts the packages available to GDB, for example, make sure to install Pygments for the Python version returned by the above command.