public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Improve Python Inferior reference handling + fix a bug
@ 2017-01-23 22:43 Simon Marchi
  2017-01-23 22:43 ` [PATCH 5/5] Add missing incref when creating Inferior Python object Simon Marchi
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Simon Marchi @ 2017-01-23 22:43 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-04-27 21:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 22:43 [PATCH 0/5] Improve Python Inferior reference handling + fix a bug Simon Marchi
2017-01-23 22:43 ` [PATCH 5/5] Add missing incref when creating Inferior Python object Simon Marchi
2017-02-25 18:41   ` Simon Marchi
2017-04-27 21:13     ` [pushed master+8.0] " Simon Marchi
2017-01-23 22:43 ` [PATCH 3/5] Make Python inferior-related internal functions return inferior_object* Simon Marchi
2017-01-24  0:03   ` Pedro Alves
2017-01-23 22:43 ` [PATCH 1/5] Introduce specialized versions of gdbpy_ref Simon Marchi
2017-01-24 15:54   ` Tom Tromey
2017-01-24 16:18     ` Simon Marchi
2017-02-09 11:58   ` Pedro Alves
2017-02-09 16:18     ` Simon Marchi
2017-01-23 22:43 ` [PATCH 4/5] Make Python inferior-related internal functions return a gdbpy_inf_ref Simon Marchi
2017-01-24 16:15   ` Simon Marchi
2017-02-09 12:30   ` Pedro Alves
2017-02-09 16:39     ` Simon Marchi
2017-01-23 22:43 ` [PATCH 2/5] Add Python Inferior object debug traces Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).