Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v8 0/4] PR gdb/31353
@ 2026-04-15  7:23 Markus Metzger
  2026-04-15  7:23 ` [PATCH v8 1/4] gdb, infrun, btrace: fix reverse/replay stepping at end of execution history Markus Metzger
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Markus Metzger @ 2026-04-15  7:23 UTC (permalink / raw)
  To: gdb-patches

Reviving an old patch series that was first submitted in Jan'21.

It fixes issues with breakpoints at the end of the execution history,
including PR gdb/31353, which was submitted in the meantime.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31353

Changes in v8:
  - rebased and resolved conflicts

Changes in v7:
  - use thread control execution direction in print_no_history_reason()

Changes in v6:
  - updated tests to use the new end-of-history wording from
    089197010993b3a5dc50bf882470bab2de696d92

Changes in v5:
  - remove redundant forward declaration

The changes are mostly in infrun and require global maintainer approval.

Markus Metzger (4):
  gdb, infrun, btrace: fix reverse/replay stepping at end of execution
    history
  gdb, infrun, record: fix hang when step-over fails with no-history
  gdb, infrun, record: move no-history notification into normal_stop
  gdb, infrun: fix multi-threaded reverse stepping

 gdb/gdbthread.h                               |  13 +++
 gdb/infrun.c                                  | 100 ++++++++++++-----
 gdb/infrun.h                                  |   7 --
 gdb/record-btrace.c                           |  19 ++--
 gdb/testsuite/gdb.btrace/cont-hang.exp        |  43 ++++++++
 .../gdb.btrace/implicit-stop-replaying.exp    | 101 ++++++++++++++++++
 .../gdb.btrace/multi-thread-break-hang.exp    |  85 +++++++++++++++
 gdb/testsuite/gdb.btrace/step-hang.exp        |  42 ++++++++
 gdb/testsuite/gdb.btrace/stepn.exp            |  50 +++++++++
 9 files changed, 418 insertions(+), 42 deletions(-)
 create mode 100644 gdb/testsuite/gdb.btrace/cont-hang.exp
 create mode 100644 gdb/testsuite/gdb.btrace/implicit-stop-replaying.exp
 create mode 100644 gdb/testsuite/gdb.btrace/multi-thread-break-hang.exp
 create mode 100644 gdb/testsuite/gdb.btrace/step-hang.exp
 create mode 100644 gdb/testsuite/gdb.btrace/stepn.exp

-- 
2.34.1

Intel Deutschland GmbH
Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 89 991 430, www.intel.de
Managing Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell
Chairperson of the Supervisory Board: Nicole Lau
Registered Seat: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


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

end of thread, other threads:[~2026-04-15  7:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-15  7:23 [PATCH v8 0/4] PR gdb/31353 Markus Metzger
2026-04-15  7:23 ` [PATCH v8 1/4] gdb, infrun, btrace: fix reverse/replay stepping at end of execution history Markus Metzger
2026-04-15  7:23 ` [PATCH v8 2/4] gdb, infrun, record: fix hang when step-over fails with no-history Markus Metzger
2026-04-15  7:23 ` [PATCH v8 3/4] gdb, infrun, record: move no-history notification into normal_stop Markus Metzger
2026-04-15  7:23 ` [PATCH v8 4/4] gdb, infrun: fix multi-threaded reverse stepping Markus Metzger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox