public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/1] gdbserver: Reinstall software single-step breakpoints in resume_stopped_resumed_lwps
@ 2023-08-03  0:56 Kevin Buettner
  2023-08-03  0:56 ` [PATCH 1/1] " Kevin Buettner
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Buettner @ 2023-08-03  0:56 UTC (permalink / raw)
  To: gdb-patches; +Cc: zhiyong.yan, simon.marchi, Kevin Buettner

This patch fixes a problem with software single-stepping in gdbserver.
See the 1/1 patch for the details.

The fix proper is based on the work of Zhiyong Yan, who I've credited
with a Co-Authored-By tag in the 1/1 patch.  The test case was also
partly Zhiyong's work since I adapted the C file from the reproducer
in the bug that was filed for this problem.

Zhiyong, please check to make sure that this revised change to
gdbserver/linux-low.c still fixes the bug on your board.

I've added Simon as a CC since the .exp file for the new test is based
on gdb.threads/next-fork-other-thread.exp, which he authored.  Also,
from my reading of the commit log for that test, I gather that Simon
has looked at a related problem in the past.

Kevin Buettner (1):
  gdbserver: Reinstall software single-step breakpoints in
    resume_stopped_resumed_lwps

 .../gdb.threads/next-fork-exec-other-thread.c |  82 +++++++++++
 .../next-fork-exec-other-thread.exp           | 131 ++++++++++++++++++
 gdbserver/linux-low.cc                        |   7 +-
 3 files changed, 219 insertions(+), 1 deletion(-)
 create mode 100644 gdb/testsuite/gdb.threads/next-fork-exec-other-thread.c
 create mode 100644 gdb/testsuite/gdb.threads/next-fork-exec-other-thread.exp

-- 
2.41.0


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

end of thread, other threads:[~2023-08-12  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-03  0:56 [PATCH 0/1] gdbserver: Reinstall software single-step breakpoints in resume_stopped_resumed_lwps Kevin Buettner
2023-08-03  0:56 ` [PATCH 1/1] " Kevin Buettner
2023-08-07 10:54   ` Yan, Zhiyong
2023-08-08  2:31     ` Kevin Buettner
2023-08-08  2:39       ` Yan, Zhiyong
2023-08-08  2:52         ` Kevin Buettner
2023-08-12  4:00   ` Kevin Buettner

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