Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2003 19:21:25 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        Freebsd Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Force core, then reload
Message-ID:  <3E766685.3000901@mac.com>
In-Reply-To: <20030315015901.GF90698@wantadilla.lemis.com>
References:  <1047692099.3e728343c7c3f@ra.dweebsoft.com> <20030315015901.GF90698@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg 'groggy' Lehey wrote:
> On Friday, 14 March 2003 at 17:34:59 -0800, Daxbert wrote:
[ ... ]
>> I know it's possible to force an application to core, but I'm not so certain
>> about the reload and execute part.  Is this even remotely possible?

Take a look at the "unexec" mechanism used by emacs.

> Not currently.  The core dump doesn't contain a lot of state
> information which you would need to resume execution.  In some cases,
> it's completely impossible.  How do you reinstate a network
> connection, for example?

For many purposes, opening a new network connection to a persistent 
resource (such as a connection dictionary for a database) is sufficient.

-- 
-Chuck

...with 900 emails to go; take one down, pass it around;
         899 emails to go...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E766685.3000901>