This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: replay debugging via vmware
- From: Michael Snyder <msnyder at vmware dot com>
- To: Edward Peschko <horos11 at gmail dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Thu, 28 May 2009 10:31:26 -0700
- Subject: Re: replay debugging via vmware
- References: <5cfa99000905272117s5ed37365je956a4d726ada97f@mail.gmail.com>
Edward Peschko wrote:
All,
I see from the recent messages that gdb is close to supporting
reversible debugging - but is this reversible debugging in the sense
of:
http://www.youtube.com/watch?v=RvMlihjqlhY
Yep, gdb's reverse debugging will support most or all of the
features that you see in the above demonstration, including
* continue backwards to a breakpoint
* continue backwards to a watchpoint
In fact, very soon, gdb will work with VMware workstation just like
you see in the demo (with a Linux guest OS).
(ie: vmware's version). There was talk about it in the video
(basically one recorded a indeterminant events in a run, and then
replayed it so it could be reversed), but as it stood, all development
was being done on visual studio.
If not, how does gdb's reversible debugging avoid being extremely slow?
The current gdb implementation (known as "process record / replay")
records and replays only the execution of a single linux process.
Less data equals greater performance.
VMware's implementation records everything that happens on
the entire virtual machine including the OS and bios. It's
a somewhat more heavy-duty implementation, as well as somewhat
more complete.
When the time comes for VMware release, the user interface and
gdb commands will be exactly the same as those currently
supported for process record / replay.