Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "EBo" <ebo@sandien.com>
To: "Edward Peschko" <horos11@gmail.com>,
	        "gdb@sourceware.org" <gdb@sourceware.org>
Subject: reverse trace [was: vmware's replay framework and gdb]
Date: Thu, 06 Nov 2008 01:02:00 -0000	[thread overview]
Message-ID: <twig.1225933292.67320@swcp.com> (raw)
In-Reply-To: <5cfa99000811051104v3e6ab5e6m50faddb64de050fe@mail.gmail.com>

I Cannot comment on VMWares effort, but reading this I had an idea and thought
I would share...

The overall problem with reverse tracing as I see it is one of caching the old
values basically as they change.  One way to get at this is to integrate a SQL
database with transaction support into the trace subsystem.  The you can view
the entire history back and forth.  

So, if you are willing to do a little brainstorming along these lines the
following questions arise:

*) is there some easy way to get the symbol table and integrate that info back
into gdb and associate the variables/memory blocks with each line of code?

*) is there some computationally inexpensive way to trap memory changes and
associate the timing with source lines and execution times?

Once all this information is funneled through a relational database, you can
then either grab the current state of each variable or reconstruct it on the fly.

Just an idea, and I hope this kind of speculative response is considered
acceptable to the group.

  EBo --

Edward Peschko <horos11@gmail.com> said:

> hey..
> 
> I watched the following Google tech talk with much interest:
> 
> http://www.youtube.com/watch?v=RvMlihjqlhY
> 
> It describes a very generic, scalable, environment-agnostic way of
> recording programs' execution via vmware's virtualization, and doing
> reverse tracing (which is one of the reasons I'd like to record
> programs in the first place). I heard gdb mentioned in the video in
> passing, so I'm assuming someone in the list is familiar with vmware's
> effort, but how far along is gdb in supporting this framework?
> 
> Thanks much,
> 
> Ed
> 



-- 




  reply	other threads:[~2008-11-06  1:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-05 19:05 vmware's replay framework and gdb Edward Peschko
2008-11-06  1:02 ` EBo [this message]
2008-11-06  4:45   ` reverse trace [was: vmware's replay framework and gdb] Thiago Jung Bauermann
2008-11-06  5:10     ` EBo
2008-11-06 10:22   ` Jakob Engblom
2008-11-06 17:01     ` EBo
2008-11-06 17:09       ` Jakob Engblom
2008-11-06  1:21 ` vmware's replay framework and gdb Michael Snyder
2008-11-06 10:25   ` Jakob Engblom

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=twig.1225933292.67320@swcp.com \
    --to=ebo@sandien.com \
    --cc=gdb@sourceware.org \
    --cc=horos11@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