Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Greg Bronevetsky <greg@bronevetsky.com>
Cc: gdb@sources.redhat.com
Subject: Re: Checkpoint-restart with different code
Date: Sun, 11 Dec 2005 03:53:00 -0000	[thread overview]
Message-ID: <20051211035259.GB15798@nevyn.them.org> (raw)
In-Reply-To: <439B3BE7.5040903@bronevetsky.com>

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


  reply	other threads:[~2005-12-11  3:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-09 21:58 Greg Bronevetsky
2005-12-09 22:08 ` Daniel Jacobowitz
2005-12-10  1:36   ` Randolph Chung
2005-12-10 20:34   ` Greg Bronevetsky
2005-12-11  3:53     ` Daniel Jacobowitz [this message]
2005-12-13 19:58 Prateek Saxena

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051211035259.GB15798@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=greg@bronevetsky.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox