build-gcc-mingw icon indicating copy to clipboard operation
build-gcc-mingw copied to clipboard

Build GDB With Python

Open VladBogdan opened this issue 3 years ago • 2 comments

Could you please add the --with-python flag to the gdb buiild ?

Thank You !

VladBogdan avatar Sep 25 '21 16:09 VladBogdan

Building with Python is too tricky. That would require choosing which version of Python to build against - what if user has different installed? Then it won't work together. Alternative would be bundle whole python with this, but that's too huge of a dependency and it would not work will whatever environment user wants to use - like preinstalled Python packages, will require more work for user to maintain separate python environment.

mmozeiko avatar Sep 25 '21 20:09 mmozeiko

This could be done maybe with an optional script argument, although I understant this could break easily in some cases, the reason mostly why I need this is for vscode debugging, since pretty-printing doesn't work otherwise. going to attempt building it myself :)

Thank You !

VladBogdan avatar Sep 26 '21 11:09 VladBogdan