ssbssa / gdb

Unofficial Windows build of gdb with added features.
GNU General Public License v2.0
58 stars 7 forks source link

I suggest you could build GDB against python 3.x #2

Closed asmwarrior closed 2 years ago

asmwarrior commented 2 years ago

Hi, I just download the file gdb-11.2.90.20220320-x86_64-python.7z, and I see it has a python27.dll. So, I would suggest using a modern python 3.x version. If I remember correctly, the official GDB will drop the python 2.x support.

Thanks.

ssbssa commented 2 years ago

You're right, the upcoming gdb version 12 will be the last one with python 2 support. Coincidentally, a short while before they announced this, I actually started playing with python 3, building it myself, etc... So my next build will use python 3, statically linked, and it should be available a short while after the official version 12 release.

ssbssa commented 2 years ago

Done now with https://github.com/ssbssa/gdb/releases/tag/gdb-12.1.90.20220502.

asmwarrior commented 2 years ago

Hi, ssbssa, thanks.

I will download it and test it.

BTW: do you have any wiki or other document about how to build your gdb? Do you use github action? Or you just build it in your local PC? Thanks.

ssbssa commented 2 years ago

BTW: do you have any wiki or other document about how to build your gdb?

I have a Makefile which contains all the build steps, but I haven't shared it (yet). Don't know where I would put it.

Do you use github action? Or you just build it in your local PC?

On my local PC.

asmwarrior commented 2 years ago

I think you can put the code in a wiki page.

I did similar things several years ago when I build 32bit GDB from time to time in MinGW's msys(that the version 1 of msys), see my old steps here: https://sourceforge.net/p/gdbmingw/wiki/Build%20GDB%20under%20MSYS/