[issue35132] python-gdb error: Python Exception <class 'RuntimeError'> Type does not have a target

Dylan Cali report at bugs.python.org
Fri Feb 15 09:48:23 EST 2019


Dylan Cali <calid1984 at gmail.com> added the comment:

> Hum, Dylan: what is your gdb version?

$ gdb --version
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1

> On Fedora 29 with gdb 8.2-6.fc29, it seems like .target() is useless

I can confirm removing the .target() call in libpython.py resolved the issue for me with no ill effects

> You can try faulthandler has a workaround.

I'll give this a try, thank you

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35132>
_______________________________________


More information about the Python-bugs-list mailing list