[issue10566] gdb debugging support additions (Tools/gdb/libpython.py)

Mark Florisson report at bugs.python.org
Wed Dec 15 22:07:19 CET 2010


Mark Florisson <markflorisson88 at gmail.com> added the comment:

Ok I attached a new patch that solves the things you mentioned. It can debug Python inferiors with versions 2.6+. Execution control commands (py-{run, cont, finish, step, next}) and py-exec need gdb 7.2+, py-break works with 7.1+.

It now also "supports exceptions", which means that if there is a pending exception when control is transferred to the debugger, the exception is printed (safely).
Also stepping and stepping over should be a lot faster as it now uses hardware watchpoints that watch the instruction pointer (f->f_lasti).

----------
Added file: http://bugs.python.org/file20070/libpython.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10566>
_______________________________________


More information about the Python-bugs-list mailing list