From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17441 invoked by alias); 7 Nov 2005 00:19:48 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 17347 invoked by uid 22791); 7 Nov 2005 00:19:39 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 07 Nov 2005 00:19:39 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EYujZ-0005MP-9E; Sun, 06 Nov 2005 19:19:37 -0500 Date: Mon, 07 Nov 2005 00:19:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: gdb@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFC] a prototype checkpoint-restart using core files Message-ID: <20051107001937.GG19200@nevyn.them.org> Mail-Followup-To: Michael Snyder , gdb@sources.redhat.com, gdb-patches@sources.redhat.com References: <43696953.9090601@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43696953.9090601@cisco.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00130.txt.bz2 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