public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix thread exited messages for remote targets
@ 2023-08-21  9:31 Andrew Burgess
  2023-08-21  9:31 ` [PATCH 1/3] gdb: make inferior::clear_thread_list always silent Andrew Burgess
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Andrew Burgess @ 2023-08-21  9:31 UTC (permalink / raw)
  To: gdb-patches; +Cc: Pedro Alves, Andrew Burgess

The point of this series is to fix the thread ... exited messages for
remote targets.  I made a previous attempt to fix this issue:

  https://inbox.sourceware.org/gdb-patches/0215c520c680334efac7f0544d834ec1fb7aff8e.1669634536.git.aburgess@redhat.com/
  https://inbox.sourceware.org/gdb-patches/d6d49338119d2a32e060f95219aacac31bdf4886.1674207665.git.aburgess@redhat.com/

But Pedro hinted that he had a better solution as part of his step
over clone/exit work, the latest version of which can be found here:

  https://inbox.sourceware.org/gdb-patches/20221212203101.1034916-31-pedro@palves.net/

Unfortunately, the larger series, of which that commit is a part,
seems to have stalled.  However, that particular patch doesn't really
depend on anything else in the series, and so, in this series I've
pulled out this one patch (3/3), along with one other patch on which
the above sort-of depended (1/3 - this changes a similar area of GDB).

The remaining patch (2/3) is my own work, and is an additional
refactor which I think follows naturally from the first patch.

Patches #1 and #3 are mostly Pedro's work, though, some updates were
needed during the rebase.  Any bugs introduced by the rebase are mine.

---

Andrew Burgess (1):
  gdb: remove the silent parameter from exit_inferior_1 and cleanup

Pedro Alves (2):
  gdb: make inferior::clear_thread_list always silent
  gdb: centralize "[Thread ...exited]" notifications

 gdb/annotate.c                                |  4 +-
 gdb/breakpoint.c                              |  4 +-
 gdb/bsd-kvm.c                                 |  2 +-
 gdb/corelow.c                                 |  2 +-
 gdb/fbsd-nat.c                                |  3 -
 gdb/gdbthread.h                               | 22 ++++++--
 gdb/inferior.c                                | 35 ++++--------
 gdb/inferior.h                                | 12 ++--
 gdb/infrun.c                                  |  2 +-
 gdb/interps.c                                 |  6 +-
 gdb/interps.h                                 |  8 ++-
 gdb/linux-nat.c                               |  8 +--
 gdb/mi/mi-interp.c                            |  4 +-
 gdb/mi/mi-interp.h                            |  3 +-
 gdb/netbsd-nat.c                              |  3 -
 gdb/observable.h                              | 11 ++--
 gdb/procfs.c                                  |  6 --
 gdb/python/py-inferior.c                      |  4 +-
 gdb/testsuite/gdb.mi/mi-thread-bp-deleted.exp | 14 +----
 .../gdb.threads/thread-bp-deleted.exp         | 12 +---
 gdb/thread.c                                  | 56 +++++++++++++------
 gdb/tracectf.c                                |  2 +-
 gdb/tracefile-tfile.c                         |  2 +-
 gdb/windows-nat.c                             | 20 ++-----
 24 files changed, 121 insertions(+), 124 deletions(-)


base-commit: b080fe54fb3414b488b8ef323c6c50def061f918
-- 
2.25.4


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

end of thread, other threads:[~2023-08-23  9:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21  9:31 [PATCH 0/3] Fix thread exited messages for remote targets Andrew Burgess
2023-08-21  9:31 ` [PATCH 1/3] gdb: make inferior::clear_thread_list always silent Andrew Burgess
2023-08-21  9:31 ` [PATCH 2/3] gdb: remove the silent parameter from exit_inferior_1 and cleanup Andrew Burgess
2023-08-21  9:31 ` [PATCH 3/3] gdb: centralize "[Thread ...exited]" notifications Andrew Burgess
2023-08-21 16:10 ` [PATCH 0/3] Fix thread exited messages for remote targets John Baldwin
2023-08-22 13:07   ` Pedro Alves
2023-08-22 16:54     ` John Baldwin
2023-08-22 13:02 ` Pedro Alves
2023-08-23  9:12   ` 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).