From owner-freebsd-questions Mon Mar 17 16:21:34 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F25E137B401 for ; Mon, 17 Mar 2003 16:21:32 -0800 (PST) Received: from pop015.verizon.net (pop015pub.verizon.net [206.46.170.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99CCC43FAF for ; Mon, 17 Mar 2003 16:21:31 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([129.44.42.55]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030318002131.XCIE14460.pop015.verizon.net@mac.com> for ; Mon, 17 Mar 2003 18:21:31 -0600 Message-ID: <3E766685.3000901@mac.com> Date: Mon, 17 Mar 2003 19:21:25 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Freebsd Questions Subject: Re: Force core, then reload References: <1047692099.3e728343c7c3f@ra.dweebsoft.com> <20030315015901.GF90698@wantadilla.lemis.com> In-Reply-To: <20030315015901.GF90698@wantadilla.lemis.com> X-Enigmail-Version: 0.73.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [129.44.42.55] at Mon, 17 Mar 2003 18:21:30 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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