Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Soam Vasani <ssv8@cornell.edu>
To: Michael Snyder <michsnyd@cisco.com>
Cc: Daniel Jacobowitz <drow@false.org>,
	gdb@sources.redhat.com, lizard-hackers@lists.sourceforge.net
Subject: Re: [RFC] a prototype checkpoint-restart using core files
Date: Tue, 08 Nov 2005 00:34:00 -0000	[thread overview]
Message-ID: <436FF276.1090406@cornell.edu> (raw)
In-Reply-To: <436FE999.1000801@cisco.com>

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


  reply	other threads:[~2005-11-08  0:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-03  1:35 Michael Snyder
2005-11-07  0:19 ` Daniel Jacobowitz
2005-11-07  4:40   ` Eli Zaretskii
2005-11-07 18:57     ` Mark Kettenis
2005-11-07 19:07       ` Daniel Jacobowitz
2005-11-07 19:50         ` Michael Snyder
2005-11-07 20:22         ` Mark Kettenis
2005-11-07 20:26           ` Daniel Jacobowitz
2005-11-07 23:56             ` Michael Snyder
2005-11-08  0:34               ` Soam Vasani [this message]
2005-11-08  0:43                 ` Michael Snyder
2005-11-07 19:43       ` Michael Snyder
2005-11-07 20:56       ` Eli Zaretskii
2005-11-08  0:10         ` Michael Snyder
2005-11-16  0:37 ` Stan Shebs
2005-11-18  3:37 Michael Snyder

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=436FF276.1090406@cornell.edu \
    --to=ssv8@cornell.edu \
    --cc=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=lizard-hackers@lists.sourceforge.net \
    --cc=michsnyd@cisco.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