From: Michael Snyder <michsnyd@cisco.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFC] a prototype checkpoint-restart using core files
Date: Mon, 07 Nov 2005 20:43:00 -0000 [thread overview]
Message-ID: <436FAE3B.60209@cisco.com> (raw)
In-Reply-To: <200511071857.jA7IvP4K005599@elgar.sibelius.xs4all.nl>
Mark Kettenis wrote:
>>Date: Mon, 07 Nov 2005 06:40:22 +0200
>>From: Eli Zaretskii <eliz@gnu.org>
>>
>>>Date: Sun, 6 Nov 2005 19:19:37 -0500
>>>From: Daniel Jacobowitz <drow@false.org>
>>>Cc: gdb@sources.redhat.com, gdb-patches@sources.redhat.com
>>>
>>>I've got to say that this is amazingly cool.
>>>
>>>Afraid that's all the comments I have time for at the moment :-)
>>
>>I agree, and I'd add that getting this into GDB soon would be good.
>
>
> Heh, I'd expected Eli to ask for documentation ;-)
>
> Anyway, in this cause I think that's important since I expect a lot of
> users won't understand its limitations.
>
> 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 :(.
Yes, I'm still puzzling over that one. However, it would
mostly only happen (sic) if you are going forward in time,
not backward. In particular, if you create a new process,
then try to feed it a corefile from an old process that
was further along in its execution.
If you save a gcore file, run forward, and then reload
the previously saved gcore file back into the *same* process
(ie. go backward in time), the mmaped areas will almost
always be present -- unles someone explicitly unmaps them.
As for your broader point, I agree, I don't think this is
ready for exposure to average users. I would like to see
it get some play from "sophisticated" users such as you
guys, who may understand the limitations and help to
characterize them.
next prev parent reply other threads:[~2005-11-07 19:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-03 1:55 Michael Snyder
2005-11-07 4:01 ` Daniel Jacobowitz
2005-11-07 14:57 ` Eli Zaretskii
2005-11-07 19:43 ` Mark Kettenis
2005-11-07 19:50 ` Daniel Jacobowitz
2005-11-07 20:56 ` Michael Snyder
2005-11-07 20:43 ` Michael Snyder [this message]
2005-11-07 22:07 ` Eli Zaretskii
2005-11-08 6:05 ` Michael Snyder
2005-11-18 8:18 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=436FAE3B.60209@cisco.com \
--to=michsnyd@cisco.com \
--cc=gdb-patches@sources.redhat.com \
--cc=gdb@sources.redhat.com \
--cc=mark.kettenis@xs4all.nl \
/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