[PATCH v2 0/4] gdb, btrace: infrun fixes
Markus Metzger
markus.t.metzger@intel.com
Thu Dec 2 07:23:16 GMT 2021
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 | 82 ++++++++++----
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, 425 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.31.1
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
More information about the Gdb-patches
mailing list