Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python enabled gdb for windows

Tags:

python

gdb

I am using gdb 7.4 on a windows 7 machine When I attempt to execute python script I get "Python scripting is not supported in this version of GDB"

I thought that it was supported in 7.4? Where can I get a version of gdb that is python enabled for windows?

like image 259
user1414413 Avatar asked May 24 '12 07:05

user1414413


1 Answers

You need a GDB which is built with python enabled (GDB.exe needs to link to python libraries, such as python27.dll for python2.7.x) MinGW supply python enabled GDB, MinGW-W64 sites also supply python enabled GDB, also my unofficial build GDB.

like image 54
ollydbg23 Avatar answered Oct 12 '22 12:10

ollydbg23