From: "Metzger, Markus T" <markus.t.metzger@intel.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Cc: "pedro@palves.net" <pedro@palves.net>
Subject: [PING] [PATCH v2 0/6] fix PR gdb/19340
Date: Fri, 3 May 2024 05:25:07 +0000 [thread overview]
Message-ID: <DM8PR11MB5749887AAAEA96E0925C0FB0DE1F2@DM8PR11MB5749.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20240411052604.87893-1-markus.t.metzger@intel.com>
Kindly pinging.
Markus.
>-----Original Message-----
>From: Metzger, Markus T <markus.t.metzger@intel.com>
>Sent: Thursday, April 11, 2024 7:26 AM
>To: gdb-patches@sourceware.org
>Cc: pedro@palves.net
>Subject: [PATCH v2 0/6] fix PR gdb/19340
>
>Fix PR gdb/19340 by stopping replaying the current thread before disabling
>recording.
>
>While writing the test for this, I wondered whether it would also work if
>there was more than one process and if some were recording while others
>were replaying.
>
>It turned out that recording one process while some other process is
>replaying doesn't work. You first have to stop replaying everything
>before you can continue recording. Since btrace is per inferior, this
>seems like an unnecessary restriction.
>
>The first patch fixes gdb/pr19340; the rest makes recording work together
>with replaying on inferior level.
>
>The most prominent change is probably that do_target_wait() no longer
>silently switches inferiors. This infrun change requires global
>maintainer approval.
>
>Changes to v1:
> - fixed a fail in a newly added test
> - fixed fails in patch 5, which also caused the patch to get renamed
>
>Markus Metzger (6):
> gdb, btrace: fix pr19340
> gdb, btrace: simplify gdb.btrace/multi-inferior.exp
> gdb, btrace: remove record_btrace_target::supports_*()
> gdb, btrace: set wait status to ignore if nothing is moving
> gdb, infrun: fix silent inferior switch in do_target_wait()
> gdb, btrace, infrun: per-inferior run-control
>
> gdb/infrun.c | 63 ++++++++++++++---
> gdb/linux-nat.c | 17 +++--
> gdb/record-btrace.c | 78 +++++++--------------
> gdb/remote.c | 22 ++++--
> gdb/testsuite/gdb.btrace/multi-inferior.c | 10 ++-
> gdb/testsuite/gdb.btrace/multi-inferior.exp | 33 ++++-----
> gdb/testsuite/gdb.btrace/step.exp | 22 ++++--
> 7 files changed, 150 insertions(+), 95 deletions(-)
>
>--
>2.34.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
prev parent reply other threads:[~2024-05-03 5:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 5:25 Markus Metzger
2024-04-11 5:25 ` [PATCH v2 1/6] gdb, btrace: fix pr19340 Markus Metzger
2024-04-11 5:26 ` [PATCH v2 2/6] gdb, btrace: simplify gdb.btrace/multi-inferior.exp Markus Metzger
2024-04-11 5:26 ` [PATCH v2 3/6] gdb, btrace: remove record_btrace_target::supports_*() Markus Metzger
2024-04-11 5:26 ` [PATCH v2 4/6] gdb, btrace: set wait status to ignore if nothing is moving Markus Metzger
2024-04-11 5:26 ` [PATCH v2 5/6] gdb, infrun: fix silent inferior switch in do_target_wait() Markus Metzger
2024-04-11 5:26 ` [PATCH v2 6/6] gdb, btrace, infrun: per-inferior run-control Markus Metzger
2024-05-03 5:25 ` Metzger, Markus T [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DM8PR11MB5749887AAAEA96E0925C0FB0DE1F2@DM8PR11MB5749.namprd11.prod.outlook.com \
--to=markus.t.metzger@intel.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@palves.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).