public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Stepping over clone syscall
@ 2021-06-30 19:55 Andrew Burgess
  2021-06-30 19:55 ` [PATCH 1/3] gdb/testsuite: update test gdb.base/step-over-syscall.exp Andrew Burgess
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andrew Burgess @ 2021-06-30 19:55 UTC (permalink / raw)
  To: gdb-patches

I ran into a situation where I needed to step over a clone syscall
with displaced stepping off.  I created bug PR gdb/27830 before I
really understood what the root cause of the problem was, but it is
all about stepping over a clone.

There is also bug gdb/19675 which is about stepping over a clone with
displaced stepping on, but that bug, though clearly related, is not
addressed by this series.

All feedback welcome.

Thanks,
Andrew

---

Andrew Burgess (3):
  gdb/testsuite: update test gdb.base/step-over-syscall.exp
  gdb: support stepping over a clone syscall with displaced stepping off
  gdb: non-displaced step over clone, remote target, no QThreadEvents

 gdb/ChangeLog                                 |  13 +
 gdb/infrun.c                                  |  31 ++
 gdb/testsuite/ChangeLog                       |  27 ++
 gdb/testsuite/gdb.base/step-over-clone.c      |  39 ++
 gdb/testsuite/gdb.base/step-over-syscall.exp  |  69 +++-
 gdb/testsuite/gdb.threads/stepi-over-clone.c  |  90 +++++
 .../gdb.threads/stepi-over-clone.exp          | 343 ++++++++++++++++++
 gdbserver/ChangeLog                           |   7 +
 gdbserver/linux-low.cc                        |  27 +-
 9 files changed, 628 insertions(+), 18 deletions(-)
 create mode 100644 gdb/testsuite/gdb.threads/stepi-over-clone.c
 create mode 100644 gdb/testsuite/gdb.threads/stepi-over-clone.exp

-- 
2.25.4


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

end of thread, other threads:[~2021-08-05  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 19:55 [PATCH 0/3] Stepping over clone syscall Andrew Burgess
2021-06-30 19:55 ` [PATCH 1/3] gdb/testsuite: update test gdb.base/step-over-syscall.exp Andrew Burgess
2021-07-05 18:46   ` Simon Marchi
2021-08-05  9:55     ` Andrew Burgess
2021-06-30 19:55 ` [PATCH 2/3] gdb: support stepping over a clone syscall with displaced stepping off Andrew Burgess
2021-06-30 19:55 ` [PATCH 3/3] gdb: non-displaced step over clone, remote target, no QThreadEvents Andrew Burgess
2021-07-05 19:19   ` Simon Marchi

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