This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ping v2] [PATCH 0/8] record: notify about "record goto" stop
- From: "Metzger, Markus T" <markus dot t dot metzger at intel dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Cc: "palves at redhat dot com" <palves at redhat dot com>, "marc dot khouzam at ericsson dot com" <marc dot khouzam at ericsson dot com>
- Date: Wed, 21 Sep 2016 09:45:36 +0000
- Subject: [ping v2] [PATCH 0/8] record: notify about "record goto" stop
- Authentication-results: sourceware.org; auth=none
ping.
Markus.
> -----Original Message-----
> From: Metzger, Markus T
> Sent: Wednesday, August 3, 2016 4:59 PM
> To: gdb-patches@sourceware.org
> Cc: palves@redhat.com; marc.khouzam@ericsson.com
> Subject: [ping] [PATCH 0/8] record: notify about "record goto" stop
>
> ping.
>
> Markus.
>
> > -----Original Message-----
> > From: Metzger, Markus T
> > Sent: Wednesday, July 6, 2016 1:56 PM
> > To: gdb-patches@sourceware.org
> > Cc: palves@redhat.com; marc.khouzam@ericsson.com
> > Subject: [PATCH 0/8] record: notify about "record goto" stop
> >
> > The "record goto" command moves the selected thread in the recorded
> > execution
> > history. It does not send a stopped notification so the move is not visible to
> > MI consumers.
> >
> > For the record-btrace target, the "record stop" command moves all replaying
> > threads to the end of their respective execution history. It again does not
> > send a stopped notification so the move goes unnoticed.
> >
> > The issue has been reported and discussed here:
> > https://sourceware.org/ml/gdb/2016-06/msg00005.html.
> >
> > This series attempts to fix it. See also branch users/mmetzger/record-goto-mi.
> >
> > Markus Metzger (8):
> > btrace: check if we're replaying when setting the replay position to
> > the end
> > record: do not allow record goto on a running thread
> > infrun: export clear_proceed_status_thread
> > record: signal a record goto stop to front-ends
> > mi, testsuite: add another EXTRA option to mi_expect_stop
> > record-full: signal record-goto stop
> > btrace-btrace: signal record-goto stop
> > btrace: record stop moves to the end of the trace
> >
> > gdb/infrun.c | 5 +--
> > gdb/infrun.h | 3 ++
> > gdb/record-btrace.c | 74 +++++++++++++++++++++++++++++---
> > gdb/record-full.c | 2 +-
> > gdb/record.c | 35 +++++++++++++++
> > gdb/record.h | 3 ++
> > gdb/testsuite/gdb.btrace/non-stop.c | 6 ++-
> > gdb/testsuite/gdb.btrace/non-stop.exp | 19 +++++++-
> > gdb/testsuite/gdb.btrace/record_goto.exp | 3 ++
> > gdb/testsuite/gdb.btrace/stop.exp | 70
> > ++++++++++++++++++++++++++++++
> > gdb/testsuite/gdb.mi/mi-reverse.exp | 9 ++++
> > gdb/testsuite/lib/mi-support.exp | 26 +++++++----
> > 12 files changed, 233 insertions(+), 22 deletions(-)
> > create mode 100644 gdb/testsuite/gdb.btrace/stop.exp
> >
> > --
> > 1.8.3.1
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928