public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Reduce back and forth with target when threads have pending statuses
@ 2021-01-25  4:57 Simon Marchi
  2021-01-25  4:57 ` [PATCH v4 1/3] gdb/testsuite: add test for run/attach while program is running Simon Marchi
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Simon Marchi @ 2021-01-25  4:57 UTC (permalink / raw)
  To: gdb-patches

This is the v4 of patches 3 and 4 of this series:

  https://sourceware.org/pipermail/gdb-patches/2021-January/174786.html

The "better handling of 'S' packets" part of the series was already
merged.

Patch 1 is new, it adds a test to cover a case that didn't seem already
covered, that is running or attaching while the inferior is running.

Note that this series was developped and tested on top of these other
series/patches, so they can be considered prerequisites (applied in this
order):

  Fix detach + displaced-step regression + N bugs more
  https://sourceware.org/pipermail/gdb-patches/2021-January/175040.html

  Clear target async event handlers in wait method
  https://sourceware.org/pipermail/gdb-patches/2020-November/173633.html

  gdb: remove unneeded argument in check_multi_target_resumption
  https://sourceware.org/pipermail/gdb-patches/2021-January/175057.html

Simon Marchi (3):
  gdb/testsuite: add test for run/attach while program is running
  gdb: move commit_resume to process_stratum_target
  gdb: generalize commit_resume, avoid commit-resuming when threads have
    pending statuses

 gdb/infcmd.c                                  | 490 +++++++++---------
 gdb/infrun.c                                  | 147 +++++-
 gdb/infrun.h                                  |  59 +++
 gdb/mi/mi-main.c                              |  88 ++--
 gdb/process-stratum-target.c                  |  14 +
 gdb/process-stratum-target.h                  |  38 ++
 gdb/record-full.c                             |  10 +-
 gdb/remote.c                                  | 123 +++--
 gdb/target-delegates.c                        |  22 -
 gdb/target.c                                  |  30 +-
 gdb/target.h                                  |  20 -
 .../gdb.base/run-attach-while-running.c       |  69 +++
 .../gdb.base/run-attach-while-running.exp     | 131 +++++
 13 files changed, 847 insertions(+), 394 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/run-attach-while-running.c
 create mode 100644 gdb/testsuite/gdb.base/run-attach-while-running.exp

-- 
2.30.0


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

end of thread, other threads:[~2021-03-17 12:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25  4:57 [PATCH v4 0/3] Reduce back and forth with target when threads have pending statuses Simon Marchi
2021-01-25  4:57 ` [PATCH v4 1/3] gdb/testsuite: add test for run/attach while program is running Simon Marchi
2021-02-06 18:22   ` Pedro Alves
2021-03-17 12:52     ` Pedro Alves
2021-01-25  4:57 ` [PATCH v4 2/3] gdb: move commit_resume to process_stratum_target Simon Marchi
2021-01-25  4:57 ` [PATCH v4 3/3] gdb: generalize commit_resume, avoid commit-resuming when threads have pending statuses Simon Marchi
2021-02-06 18:05   ` Pedro Alves
2021-02-03  1:35 ` [PATCH v4 0/3] Reduce back and forth with target " Pedro Alves

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