[RFC] a prototype checkpoint-restart using core files

Daniel Jacobowitz drow@false.org
Mon Nov 7 00:19:00 GMT 2005


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



More information about the Gdb mailing list