[PATCH v3 0/4] gdb, btrace: infrun fixes

Metzger, Markus T markus.t.metzger@intel.com
Mon Aug 29 04:41:01 GMT 2022


ping,
markus.

>-----Original Message-----
>From: Metzger, Markus T <markus.t.metzger@intel.com>
>Sent: Montag, 4. Juli 2022 13:54
>To: gdb-patches@sourceware.org
>Cc: pedro@palves.net
>Subject: [PATCH v3 0/4] gdb, btrace: infrun fixes
>
>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



More information about the Gdb-patches mailing list