public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix detach bug when lwp has exited/terminated
@ 2023-11-11 22:26 Kevin Buettner
  2023-11-11 22:26 ` [PATCH 1/2] linux-nat.c, linux-fork.c: " Kevin Buettner
  2023-11-11 22:26 ` [PATCH 2/2] New test: gdb.base/process-dies-while-detaching.exp Kevin Buettner
  0 siblings, 2 replies; 7+ messages in thread
From: Kevin Buettner @ 2023-11-11 22:26 UTC (permalink / raw)
  To: gdb-patches; +Cc: Kevin Buettner

Part one two part series is a fix for a detach bug which occurs when
the inferior has been terminated or killed.  Part 2 is the test case.

Kevin Buettner (2):
  linux-nat.c, linux-fork.c: Fix detach bug when lwp has
    exited/terminated
  New test: gdb.base/process-dies-while-detaching.exp

 gdb/linux-fork.c                              |  22 ++-
 gdb/linux-fork.h                              |   2 +-
 gdb/linux-nat.c                               |  17 ++-
 gdb/testsuite/gdb.base/kill-during-detach.c   |  32 +++++
 gdb/testsuite/gdb.base/kill-during-detach.exp | 132 ++++++++++++++++++
 5 files changed, 196 insertions(+), 9 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/kill-during-detach.c
 create mode 100644 gdb/testsuite/gdb.base/kill-during-detach.exp

-- 
2.41.0


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

end of thread, other threads:[~2023-11-14  5:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-11 22:26 [PATCH 0/2] Fix detach bug when lwp has exited/terminated Kevin Buettner
2023-11-11 22:26 ` [PATCH 1/2] linux-nat.c, linux-fork.c: " Kevin Buettner
2023-11-13 10:58   ` Andrew Burgess
2023-11-14  1:36     ` Kevin Buettner
2023-11-14  5:48       ` Kevin Buettner
2023-11-11 22:26 ` [PATCH 2/2] New test: gdb.base/process-dies-while-detaching.exp Kevin Buettner
2023-11-13 11:04   ` 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).