Hi, Attached is a patch that tells gdb-python to use the Py_InitModule4_64 function instead of Py_InitModule for 64-bit builds. The latter is not in the official Python x64 Windows dll, and from looking around on the net, neither is it present on 64-bit linux Python libraries (can't say that for sure though). This patch allows a successful build with mingw-w64. Here is a link to the rationale for the different function name on the Python website: http://www.python.org/dev/peps/pep-0353/#specification The patch was made using the 7.3 branch. Please comment on and/or OK this patch. Thanks! Ruben