Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v3 0/4] gdb, btrace: infrun fixes
@ 2022-07-04 11:54 Markus Metzger via Gdb-patches
  2022-07-04 11:54 ` [PATCH v3 1/4] gdb, infrun, btrace: fix reverse/replay stepping at end of execution history Markus Metzger via Gdb-patches
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Markus Metzger via Gdb-patches @ 2022-07-04 11:54 UTC (permalink / raw)
  To: gdb-patches; +Cc: pedro

Changes in v3:
  - fix an assertion in clean_up_just_stopped_threads_fsms after
    finish_step_over changed the current thread.

Changes in v2:
  - address feedback from Pedro Alves

There's still an open question raised here:
https://sourceware.org/pipermail/gdb-patches/2021-November/183700.html.

    I'm wondering if prepare_one_step() should reset tp->control.step_stop
    to zero.  It does re-initialize tp->control.step_range_start/end and
    we do start another step.

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                                  |  88 +++++++++++----
 gdb/infrun.h                                  |   7 --
 gdb/record-btrace.c                           |  19 ++--
 gdb/testsuite/gdb.btrace/cont-hang.exp        |  47 ++++++++
 .../gdb.btrace/implicit-stop-replaying.exp    | 105 ++++++++++++++++++
 .../gdb.btrace/multi-thread-break-hang.exp    |  88 +++++++++++++++
 gdb/testsuite/gdb.btrace/step-hang.exp        |  46 ++++++++
 gdb/testsuite/gdb.btrace/stepn.exp            |  54 +++++++++
 9 files changed, 431 insertions(+), 36 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.35.3

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


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

end of thread, other threads:[~2022-08-29  4:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 11:54 [PATCH v3 0/4] gdb, btrace: infrun fixes Markus Metzger via Gdb-patches
2022-07-04 11:54 ` [PATCH v3 1/4] gdb, infrun, btrace: fix reverse/replay stepping at end of execution history Markus Metzger via Gdb-patches
2022-07-04 11:54 ` [PATCH v3 2/4] gdb, infrun, record: fix hang when step-over fails with no-history Markus Metzger via Gdb-patches
2022-07-04 11:54 ` [PATCH v3 3/4] gdb, infrun, record: move no-history notification into normal_stop Markus Metzger via Gdb-patches
2022-07-04 11:54 ` [PATCH v3 4/4] gdb, infrun: fix multi-threaded reverse stepping Markus Metzger via Gdb-patches
2022-08-29  4:41 ` [PATCH v3 0/4] gdb, btrace: infrun fixes Metzger, Markus T via Gdb-patches

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