From: Pedro Alves <pedro@codesourcery.com>
To: teawater <teawater@gmail.com>
Cc: gdb-patches@sourceware.org, "Michael Snyder" <msnyder@vmware.com>
Subject: Re: [reverse] PATCH: Several interface changes
Date: Thu, 09 Oct 2008 02:50:00 -0000 [thread overview]
Message-ID: <200810090349.37968.pedro@codesourcery.com> (raw)
In-Reply-To: <daef60380810081931h419ac0d8pbdc1b304204cd2c0@mail.gmail.com>
On Thursday 09 October 2008 03:31:47, teawater wrote:
> Maybe P record doesn't need make threads execute in different
> direction. Cause P record reverse executes base on replay mode. This
> mode will replay the memory change and the registers change. And all
> threads of one process share the memory. So...
You're thinking single-inferior. What about threads of different inferiors
behind a single target_ops? Say, you're attached to process A, but you're
leaving it running (you'll hit internal breakpoints in forward mode),
while you're debugging/inspecting process B in reverse. There you have
your two threads, on a single target, where the single per-target
direction flag stops making sense.
I understand the idealism behind this. I just posted the patch
to show the direction I think we will end up taking, instead of
trying to explain it by: "it would be nice if you did it the way
I'm saying".
--
Pedro Alves
next prev parent reply other threads:[~2008-10-09 2:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 16:09 Pedro Alves
2008-10-08 7:28 ` teawater
2008-10-08 12:26 ` Pedro Alves
2008-10-08 20:21 ` Michael Snyder
2008-10-08 23:28 ` Pedro Alves
2008-10-09 2:32 ` teawater
2008-10-09 2:50 ` Pedro Alves [this message]
2008-10-09 3:11 ` teawater
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=200810090349.37968.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=msnyder@vmware.com \
--cc=teawater@gmail.com \
/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