This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] checkpoint / restart, and multi-fork debugging
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