public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix ordering of configurationDone and launch
@ 2024-01-24 15:48 Tom Tromey
  2024-01-24 15:48 ` [PATCH 1/3] Export dap_initialize Tom Tromey
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tom Tromey @ 2024-01-24 15:48 UTC (permalink / raw)
  To: gdb-patches

This series is really just a couple of small preparatory patches
before patch #3, where the problem is described.  Anyway, gdb's
implementation of 'launch' is wrong -- it should really start the
inferior.  DAP, somewhat bizarrely IMO, wants the client to set
breakpoints and such before the debugger knows what executable to use.
This series fixes gdb to follow the spec here.

---
Tom Tromey (3):
      Export dap_initialize
      Clean up suppress_new_breakpoint_event
      Fix DAP launch and configurationDone requests

 gdb/python/lib/gdb/dap/breakpoint.py      | 135 ++++++++++++++++--------------
 gdb/python/lib/gdb/dap/launch.py          |  29 ++-----
 gdb/testsuite/gdb.dap/ada-arrays.exp      |   8 +-
 gdb/testsuite/gdb.dap/ada-nested.exp      |   7 +-
 gdb/testsuite/gdb.dap/ada-scopes.exp      |   7 +-
 gdb/testsuite/gdb.dap/args-env.exp        |   8 +-
 gdb/testsuite/gdb.dap/assign.exp          |   7 +-
 gdb/testsuite/gdb.dap/basic-dap.exp       |  63 +++++++-------
 gdb/testsuite/gdb.dap/bt-nodebug.exp      |   8 +-
 gdb/testsuite/gdb.dap/catch-exception.exp |   7 +-
 gdb/testsuite/gdb.dap/children.exp        |   7 +-
 gdb/testsuite/gdb.dap/cond-bp.exp         |  16 +++-
 gdb/testsuite/gdb.dap/cwd.exp             |   7 +-
 gdb/testsuite/gdb.dap/cxx-exception.exp   |   7 +-
 gdb/testsuite/gdb.dap/eof.exp             |   2 +-
 gdb/testsuite/gdb.dap/frameless.exp       |   9 +-
 gdb/testsuite/gdb.dap/hover.exp           |   8 +-
 gdb/testsuite/gdb.dap/lazy-string.exp     |   7 +-
 gdb/testsuite/gdb.dap/log-message.exp     |   8 +-
 gdb/testsuite/gdb.dap/memory.exp          |   8 +-
 gdb/testsuite/gdb.dap/modules.exp         |   7 +-
 gdb/testsuite/gdb.dap/pause.exp           |   8 +-
 gdb/testsuite/gdb.dap/ptrref.exp          |   8 +-
 gdb/testsuite/gdb.dap/rust-slices.exp     |   8 +-
 gdb/testsuite/gdb.dap/scopes.exp          |   8 +-
 gdb/testsuite/gdb.dap/sources.exp         |   4 +
 gdb/testsuite/gdb.dap/stack-format.exp    |   7 +-
 gdb/testsuite/gdb.dap/stop-at-main.exp    |   6 +-
 gdb/testsuite/gdb.dap/terminate.exp       |   6 +-
 gdb/testsuite/lib/dap-support.exp         |  25 +++---
 30 files changed, 260 insertions(+), 185 deletions(-)
---
base-commit: 7737b1336402cd4682538620ab996bdb7ad0ea79
change-id: 20240124-dap-launch-fix-6f4ac7637286

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


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

end of thread, other threads:[~2024-02-12 17:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 15:48 [PATCH 0/3] Fix ordering of configurationDone and launch Tom Tromey
2024-01-24 15:48 ` [PATCH 1/3] Export dap_initialize Tom Tromey
2024-01-24 15:48 ` [PATCH 2/3] Clean up suppress_new_breakpoint_event Tom Tromey
2024-01-24 15:48 ` [PATCH 3/3] Fix DAP launch and configurationDone requests Tom Tromey
2024-02-12 17:41 ` [PATCH 0/3] Fix ordering of configurationDone and launch 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).