This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] a prototype checkpoint-restart using core files
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Snyder <michsnyd at cisco dot com>
- Cc: gdb at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Sun, 6 Nov 2005 19:19:37 -0500
- Subject: Re: [RFC] a prototype checkpoint-restart using core files
- References: <43696953.9090601@cisco.com>
On Wed, Nov 02, 2005 at 05:35:15PM -0800, Michael Snyder wrote:
> Folks, this isn't for commit, just for discussion.
>
> Attached is an experimental patch that adds a command
> "restore-core-file" or "rcore", which is the inverse of
> "generate-core-file" (gcore). Instead of copying the
> memory and register state of a process into a file,
> it takes an existing corefile, and copies its memory
> and register state into the child process.
>
> The idea was to experiment with the concept of doing
> checkpoint and restore, by using a corefile as the
> checkpoint file. Obviously it has limitations --
> it doesn't save any kernel state, I/O state etc.
> Just user state.
I've got to say that this is amazingly cool.
Afraid that's all the comments I have time for at the moment :-)
--
Daniel Jacobowitz
CodeSourcery, LLC