Building GDB with PyPy?
Yichun Zhang (agentzh)
agentzh@gmail.com
Wed Aug 6 00:46:00 GMT 2014
Hi folks!
Sorry if this is a dumb question.
I've been using the Python extension in gdb but the speed of the
Python code is very disappointing for large working set. I wonder if
it is possible to build gdb from source with pypy instead of the
cpython?
Using ./configure --with-python=`which pypy` fails for me with the
following error:
checking whether to use python... /bin/pypy
Traceback (most recent call last):
File "app_main.py", line 72, in run_toplevel
File "./python/python-config.py", line 66, in <module>
libs.append('-lpython'+pyver + abiflags)
TypeError: unsupported operand type(s) for +: 'str' and 'NoneType'
configure: error: failure running python-config --ldflags
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/home/agentzh/Downloads/gdb-7.8'
make: *** [all] Error 2
Any pointers for solving this will be highly appreciated!
Hopefully PyPy can speed up my Python code running in gdb a lot. Just
want to give it a shot.
Thanks!
-agentzh
More information about the Gdb
mailing list