public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Adding a Python event for when GDB exits
@ 2021-09-08 13:56 Andrew Burgess
  2021-09-08 13:56 ` [PATCH 1/2] gdb/python: update events test to handle missing exit_code Andrew Burgess
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Andrew Burgess @ 2021-09-08 13:56 UTC (permalink / raw)
  To: gdb-patches

Adding a new event for when GDB exits (the second patch).

I ran into some issues with the unrelated inferior exiting event
gdb.ExitedEvent while writing the test for the new GDB exiting event,
which explains the first patch.

Thanks,
Andrew


---

Andrew Burgess (2):
  gdb/python: update events test to handle missing exit_code
  gdb/python: add a new gdb_exiting event

 gdb/NEWS                               |  6 +++
 gdb/doc/python.texi                    | 15 +++++-
 gdb/observable.c                       |  1 +
 gdb/observable.h                       |  4 +-
 gdb/python/py-all-events.def           |  1 +
 gdb/python/py-event-types.def          |  5 ++
 gdb/python/python.c                    | 35 +++++++++++++
 gdb/testsuite/gdb.python/py-events.exp | 69 ++++++++++++++++++++++++++
 gdb/testsuite/gdb.python/py-events.py  | 30 ++++++++++-
 gdb/top.c                              |  6 ++-
 10 files changed, 167 insertions(+), 5 deletions(-)

-- 
2.25.4


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

end of thread, other threads:[~2021-10-05  9:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08 13:56 [PATCH 0/2] Adding a Python event for when GDB exits Andrew Burgess
2021-09-08 13:56 ` [PATCH 1/2] gdb/python: update events test to handle missing exit_code Andrew Burgess
2021-09-08 14:07   ` Eli Zaretskii
2021-09-23 20:14   ` Tom Tromey
2021-09-08 13:56 ` [PATCH 2/2] gdb/python: add a new gdb_exiting event Andrew Burgess
2021-09-08 14:10   ` Eli Zaretskii
2021-09-24  8:42     ` Andrew Burgess
2021-09-23 20:16   ` Tom Tromey
2021-10-05  9:13 ` [PATCH 0/2] Adding a Python event for when GDB exits Andrew Burgess

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).