[RFC] a prototype checkpoint-restart using core files

Mark Kettenis mark.kettenis@xs4all.nl
Mon Nov 7 20:22:00 GMT 2005


> Date: Mon, 7 Nov 2005 14:07:24 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> > If I read the code correctly, there is one rather serious limitation
> > though: restoring mmapped area's will fail if the same area isn't
> > mapped in the target process.  Especially on systems that randomize
> > the location of mmapped memory this will make the usefullness of this
> > feature pretty limited :(.
> 
> Why should it?  The expected use is to restore these dumps into the
> same running session - just after stepping a bit.  So unless you step
> across a very large free(), it should be fine.

Ah, somehow I forgar about the "same running session" part.  Guess
that's one of the things that needs to be clearly documented then ;-).

Thanks Daniel,

Mark



More information about the Gdb mailing list