From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2752 invoked by alias); 23 Dec 2005 22:00:55 -0000 Received: (qmail 2744 invoked by uid 22791); 23 Dec 2005 22:00:54 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 23 Dec 2005 22:00:53 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Epuy3-0000Qu-SE for gdb-patches@sourceware.org; Fri, 23 Dec 2005 17:00:51 -0500 Date: Sat, 24 Dec 2005 16:31:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [RFA] Linux Checkpoint/Restart, take 2 (footnote) Message-ID: <20051223220051.GA1625@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <43A777EE.50404@cisco.com> <20051223142940.GA24997@nevyn.them.org> <43AC7183.2080406@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43AC7183.2080406@redhat.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00283.txt.bz2 On Fri, Dec 23, 2005 at 01:52:03PM -0800, Michael Snyder wrote: > But if we do that for a checkpoint fork, it's not gonna work, > because when THAT process was created, it was in a function > (fork) that was called by gdb. So its register state and stack > are in the state as set up by Call-Function-By-Hand. In other > words, when it was "frozen", it was before returning to CFBH, > and therefore CFBH had not yet had a chance to restore the > pre-CFBH register state. Ah-hah! Thanks, that makes perfect sense. -- Daniel Jacobowitz CodeSourcery, LLC