From: Michael Snyder <msnyder@vmware.com>
To: Jakob Engblom <jakob@virtutech.com>
Cc: 'Stan Shebs' <stan@codesourcery.com>,
"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Tracepoint enhancements
Date: Mon, 03 Nov 2008 19:23:00 -0000 [thread overview]
Message-ID: <490F4DDD.3040407@vmware.com> (raw)
In-Reply-To: <010301c93de5$581d7360$08585a20$@com>
Jakob Engblom wrote:
>>> If by checkpoint you mean "some point inside the execution of a single
> program"
>>> this is also a nice fit with simulators (and I presume VmWare as well, if we
>> use
>>> its snapshotting ability for this). I think this is a very good idea that
>> works
>>> very well with a smart remote target.
>> Yes, that's what I meant. A "point in time" in the execution
>> history, something that could be represented eg. by a cycle count
>> or instruction count, rather than just by a PC.
>
> I think that is a bad idea to assume there is only one time or one instruction
> count in the target. It could be a multicore target with lots of CPUs running
> around... so let the backend handle that in a symbolic way rather than assume
> anything about what it means.
Right, OK. But it was a mental assumption rather than an
implementation assumption.
I think the idea we're both getting at is that a checkpoint
represents a machine state. If there are multiple machines,
that complicates the picture -- but basically gdb is saying
to the target "I want to be able to return to the state that
you are in *right now*".
next prev parent reply other threads:[~2008-11-03 19:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-31 20:46 Stan Shebs
[not found] ` <490B6CEF.2000003@vmware.com>
2008-11-01 8:40 ` Vladimir Prus
2008-11-03 18:20 ` Michael Snyder
2008-11-04 21:17 ` Stan Shebs
2008-11-05 7:14 ` Vladimir Prus
[not found] ` <Pine.LNX.4.58.0811060523150.8468@vlab.hofr.at>
2008-11-06 18:19 ` Vladimir Prus
2008-11-03 6:38 ` Jakob Engblom
2008-11-03 18:27 ` Michael Snyder
2008-11-03 18:53 ` Jakob Engblom
2008-11-03 19:23 ` Michael Snyder [this message]
2008-11-04 14:00 ` Jakob Engblom
2008-11-04 21:37 ` Stan Shebs
2008-11-04 21:58 ` Michael Snyder
2008-11-05 9:04 ` Jakob Engblom
2008-11-03 9:12 ` Jeremy Bennett
2008-11-04 21:26 ` Stan Shebs
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=490F4DDD.3040407@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb@sourceware.org \
--cc=jakob@virtutech.com \
--cc=stan@codesourcery.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