From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9912 invoked by alias); 11 Dec 2005 03:53:03 -0000 Received: (qmail 9886 invoked by uid 22791); 11 Dec 2005 03:53:03 -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; Sun, 11 Dec 2005 03:53:01 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1ElIGh-00047o-8E; Sat, 10 Dec 2005 22:52:59 -0500 Date: Sun, 11 Dec 2005 03:53:00 -0000 From: Daniel Jacobowitz To: Greg Bronevetsky Cc: gdb@sources.redhat.com Subject: Re: Checkpoint-restart with different code Message-ID: <20051211035259.GB15798@nevyn.them.org> Mail-Followup-To: Greg Bronevetsky , gdb@sources.redhat.com References: <4399FDE5.2020905@bronevetsky.com> <20051209220840.GA24624@nevyn.them.org> <439B3BE7.5040903@bronevetsky.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <439B3BE7.5040903@bronevetsky.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes 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 X-SW-Source: 2005-12/txt/msg00125.txt.bz2 On Sat, Dec 10, 2005 at 03:34:47PM -0500, Greg Bronevetsky wrote: > Thanks for your help! I've looked around some more and it looks like a > number of debuggers provide some form of this functionality. However, > they all seem to be binary rewriters. Does anybody know of work at the > compiler level? I can imagine that it would be possible to allow for > more flexible editing of the code if it could be recompiled from the source. That's what fix-and-continue is. The debugger inserts trampolines in the old function which redirect to the new function. -- Daniel Jacobowitz CodeSourcery, LLC