public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add more DAP launch parameters
@ 2023-05-17 15:52 Tom Tromey
  2023-05-17 15:52 ` [PATCH v2 1/2] Add attributes and methods to gdb.Inferior Tom Tromey
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tom Tromey @ 2023-05-17 15:52 UTC (permalink / raw)
  To: gdb-patches; +Cc: Eli Zaretskii, Andrew Burgess

This series adds some more Python attributes (and methods), and then
uses these to implement some new launch parameters for DAP.

Inferior.main_name is added but not used.  I plan to use this to
implement a "stop at main" launch parameter, after we work out a few
details.  Meanwhile it seemed harmless and potentially useful.

Tom

---
Changes in v2:
- Updated per reviews
- Link to v1: https://inbox.sourceware.org/gdb-patches/20230509-dap-args-v1-0-16b5f0aa5cd6@adacore.com

---
Tom Tromey (2):
      Add attributes and methods to gdb.Inferior
      Add "args" and "env" parameters to DAP launch request

 gdb/NEWS                                 |  10 ++
 gdb/doc/gdb.texinfo                      |  13 ++-
 gdb/doc/python.texi                      |  44 ++++++++
 gdb/python/lib/gdb/dap/launch.py         |  20 +++-
 gdb/python/py-inferior.c                 | 169 +++++++++++++++++++++++++++++++
 gdb/testsuite/gdb.ada/py_range.exp       |   4 +
 gdb/testsuite/gdb.dap/args-env.c         |  28 +++++
 gdb/testsuite/gdb.dap/args-env.exp       |  90 ++++++++++++++++
 gdb/testsuite/gdb.python/py-inferior.exp |  36 +++++++
 gdb/testsuite/lib/dap-support.exp        |  39 +++++--
 10 files changed, 441 insertions(+), 12 deletions(-)
---
base-commit: 80d4e113d7b9af8a5a36e5ea4399bca86050784f
change-id: 20230509-dap-args-596e21f0b48d

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


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

end of thread, other threads:[~2023-05-24 12:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 15:52 [PATCH v2 0/2] Add more DAP launch parameters Tom Tromey
2023-05-17 15:52 ` [PATCH v2 1/2] Add attributes and methods to gdb.Inferior Tom Tromey
2023-05-24 12:58   ` Andrew Burgess
2023-05-17 15:52 ` [PATCH v2 2/2] Add "args" and "env" parameters to DAP launch request Tom Tromey
2023-05-24 12:16 ` [PATCH v2 0/2] Add more DAP launch parameters 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).