[RFC] a prototype checkpoint-restart using core files
Soam Vasani
ssv8@cornell.edu
Tue Nov 8 00:34:00 GMT 2005
Michael Snyder wrote:
> Sometimes, as Mark says, a segment hasn't been mmapped
> in yet. I don't yet know what to do about that.
I think the core file doesn't have enough information for
restoring mmap'd regions ?
While dumping a checkpoint you could save /proc/pid/maps, and
do the mmaps before restoring the rest of the state from core file.
But I'm not sure /proc/pid/maps has enough information, the "flags"
argument to mmap (thats the 4th one) doesn't seem to be shown there.
regards,
soam
More information about the Gdb
mailing list