From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Cc: Kevin Buettner <kevinb@redhat.com>
Subject: [PATCH 0/2] Fix detach bug when lwp has exited/terminated
Date: Sat, 11 Nov 2023 15:26:27 -0700 [thread overview]
Message-ID: <20231111223046.109727-1-kevinb@redhat.com> (raw)
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
next reply other threads:[~2023-11-11 22:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-11 22:26 Kevin Buettner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231111223046.109727-1-kevinb@redhat.com \
--to=kevinb@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).