🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #149

help with unexec

#149
From: David Nicodemus
Date: Tue, 28 Jul 1992 01:49
22 lines
1168 bytes

I am looking for a way to force a program out of execution, and save an image
of the program that can be restarted from the same point at a later time. 

It appears that the gnu unexec() function from gnu emacs will do this; however,
the last parameter asks for a "starting address." 

	How can I find this "starting address" (which I want to be the
current point of execution)?  Is this even possible? I am trying to implement 
this on DECstation 5000's.

If anyone has anyone has information on finding this value, or on the
whole idea in general any help would be much appreciated.

			Thanks
				Dave


David Nicodemus 		
dnicodem@cs.ulowell.edu
dnicodem@duck.ulowell.edu
Technical Details
Message-ID: <1992Jul28.014955.21272@ulowell.ulowell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!cs.ulowell.edu!dnicodem

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.programmer,comp.unix.questions,gnu.misc.discuss,gnu.gcc.help,comp.unix.ultrix
Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!cs.ulowell.edu!dnicodem
From: dnicodem@cs.ulowell.edu (David Nicodemus)
Subject: help with unexec
Message-ID: <1992Jul28.014955.21272@ulowell.ulowell.edu>
Sender: usenet@ulowell.ulowell.edu (News manager - ulowell)
Organization: University of Massachusetts at Lowell Computer Science
Date: Tue, 28 Jul 1992 01:49:55 GMT
Lines: 22