question about reverse debugging

Robert O'Callahan robert at ocallahan.org
Tue Mar 14 09:23:35 UTC 2017


On Tue, Mar 14, 2017 at 9:37 PM, Ren Kimura <rkx1209dev at gmail.com> wrote:
> Thank you for replaying.
>
> OK. After restoring from a checkpoint, all operations between the checkpoint
> and desired point should be emulated.
> What function is doing that and how?

At a high level, `ReplayTimeline::reverse_singlestep` and
`ReplayTimeline::reverse_continue` work out where to go back to and
then call`ReplayTimeline::replay_step_to_mark` to get there. But that
relies on a series of calls to `ReplaySession::replay_step` which is
where the core work to replay a session happens

> I'm little confused about how actual operations are executed until desired
> point without debugee process.

If you're asking how replay works in general, there are some talks
online that might be helpful. E.g. https://youtu.be/H4iNuufAe_8.

Rob
-- 
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr  esn


More information about the rr-dev mailing list