I can create a coredump as a snapshot of a process's image and continue running. Can I then, on another run of the program load the coredump and continue at that same point in time? If so how?

Ultimately what I would like to do is use the coredump as a fast initialization tool. For example, imagine something like this:

main() {
   if (this is the first time the program has run) {
       Load massive database and other initialization
       Create coredump
   } else {
       Load coredump
   Do process specific thing

I think emacs used to do something like this? Any ideas?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.