From: "aleksandar.paunovic" <aleksandar.paunovic@intel.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] Fix next command in the running inferior
Date: Mon, 7 Jun 2021 10:42:01 +0200 [thread overview]
Message-ID: <1623055323-3331-1-git-send-email-aleksandar.paunovic@intel.com> (raw)
From: Aleksandar Paunovic <aleksandar.paunovic@intel.com>
Next command caused a thread in an inferior to be deleted and other
threads to be in inconsistent state. This is now fixed.
Aleksandar Paunovic (2):
gdb: Fix deleted thread when issuing next command
gdb: Improve the resuming of the stepped thread
gdb/infrun.c | 17 +++-
.../gdb.base/breakpoint-running-inferior-1.c | 39 ++++++++
.../gdb.base/breakpoint-running-inferior-2.c | 39 ++++++++
.../gdb.base/breakpoint-running-inferior.exp | 89 +++++++++++++++++++
4 files changed, 183 insertions(+), 1 deletion(-)
create mode 100644 gdb/testsuite/gdb.base/breakpoint-running-inferior-1.c
create mode 100644 gdb/testsuite/gdb.base/breakpoint-running-inferior-2.c
create mode 100644 gdb/testsuite/gdb.base/breakpoint-running-inferior.exp
--
2.17.1
next reply other threads:[~2021-06-07 8:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-07 8:42 aleksandar.paunovic [this message]
2021-06-07 8:42 ` [PATCH 1/2] gdb: Fix deleted thread when issuing next command aleksandar.paunovic
2021-06-07 8:42 ` [PATCH 2/2] gdb: Improve the resuming of the stepped thread aleksandar.paunovic
2021-06-07 13:48 ` Andrew Burgess
2021-06-14 10:47 ` Paunovic, Aleksandar
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=1623055323-3331-1-git-send-email-aleksandar.paunovic@intel.com \
--to=aleksandar.paunovic@intel.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).