From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3219 invoked by alias); 10 Dec 2005 01:49:50 -0000 Received: (qmail 3211 invoked by uid 22791); 10 Dec 2005 01:49:50 -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; Sat, 10 Dec 2005 01:49:48 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Ektru-0007Py-5v; Fri, 09 Dec 2005 20:49:46 -0500 Date: Sat, 10 Dec 2005 09:57:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: gdb-patches@sourceware.org Subject: Re: [RFA] checkpoint / restart, and multi-fork debugging Message-ID: <20051210014946.GA28484@nevyn.them.org> Mail-Followup-To: Michael Snyder , gdb-patches@sourceware.org References: <439614B1.2030206@redhat.com> <20051209143700.GB11917@nevyn.them.org> <439A307C.3080107@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <439A307C.3080107@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/msg00191.txt.bz2 On Fri, Dec 09, 2005 at 05:33:48PM -0800, Michael Snyder wrote: > Something like this? > > It may be useful to take a checkpoint at 'main', and return > to that checkpoint instead of restarting the program. This > will help keep things deterministic by avoiding random things > that may occur during creation of a new process (such as > address space randomization). s/things/the program's behavior/ maybe? > I don't really know about "address space randomization" (though > I can guess what it means)... See exec-shield for more information about this. The stack, heap, and library load addresses all may move around (and more, for position-independent executables). -- Daniel Jacobowitz CodeSourcery, LLC