[PATCH 0/5] Improve Python Inferior reference handling + fix a bug
Simon Marchi
simon.marchi@ericsson.com
Mon Jan 23 22:43:00 GMT 2017
As I was investigating a crash related to Python Inferior objects, I saw some
opportunities to make the code a bit nicer/robust. This series is the result.
Simon Marchi (5):
Introduce specialized versions of gdbpy_ref
Add Python Inferior object debug traces
Make Python inferior-related internal functions return
inferior_object*
Make Python inferior-related internal functions return a gdbpy_inf_ref
Add missing incref when creating Inferior Python object
gdb/python/py-exitedevent.c | 4 +--
gdb/python/py-inferior.c | 73 ++++++++++++++++++++++++++------------------
gdb/python/py-infthread.c | 8 +++--
gdb/python/py-ref.h | 40 +++++++++++++++++++++---
gdb/python/python-internal.h | 13 ++++++--
gdb/python/python.c | 12 ++++++++
6 files changed, 110 insertions(+), 40 deletions(-)
--
2.11.0
More information about the Gdb-patches
mailing list