public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Simplify DAP stop reason emission
@ 2023-11-14 18:44 Tom Tromey
  2023-11-14 18:44 ` [PATCH 1/3] Move py_ui_out to a new header Tom Tromey
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Tom Tromey @ 2023-11-14 18:44 UTC (permalink / raw)
  To: gdb-patches

This patch changes the DAP stop-reason emission to be simpler (on the
DAP side) and also more reliable.  Rather than guessing that a stop
occurred because a "step" finished, the DAP code now relies on gdb's
own knowledge of this.

---
Tom Tromey (3):
      Move py_ui_out to a new header
      Emit stop reason details in Python stop events
      Simplify DAP stop-reason code

 gdb/NEWS                         |   4 +
 gdb/doc/python.texi              |  11 +++
 gdb/python/lib/gdb/dap/events.py |  79 ++++++++++++--------
 gdb/python/lib/gdb/dap/launch.py |   4 +-
 gdb/python/lib/gdb/dap/next.py   |  10 +--
 gdb/python/lib/gdb/dap/pause.py  |   4 +-
 gdb/python/py-bpevent.c          |   5 +-
 gdb/python/py-mi.c               | 131 +--------------------------------
 gdb/python/py-signalevent.c      |   5 +-
 gdb/python/py-stopevent.c        |  65 +++++++++++++++--
 gdb/python/py-stopevent.h        |   9 ++-
 gdb/python/py-uiout.h            | 153 +++++++++++++++++++++++++++++++++++++++
 12 files changed, 299 insertions(+), 181 deletions(-)
---
base-commit: c748dbd95bf3305539956053c2a25ecea7b442a5
change-id: 20231114-py-stop-reason-3f141487d90e

Best regards,
-- 
Tom Tromey <tromey@adacore.com>


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

end of thread, other threads:[~2023-12-11 18:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14 18:44 [PATCH 0/3] Simplify DAP stop reason emission Tom Tromey
2023-11-14 18:44 ` [PATCH 1/3] Move py_ui_out to a new header Tom Tromey
2023-11-14 18:44 ` [PATCH 2/3] Emit stop reason details in Python stop events Tom Tromey
2023-11-14 19:12   ` Eli Zaretskii
2023-11-14 18:44 ` [PATCH 3/3] Simplify DAP stop-reason code Tom Tromey
2023-12-11 18:42 ` [PATCH 0/3] Simplify DAP stop reason emission Tom Tromey

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