home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3948 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.2 KB

  1. Xref: sparky comp.unix.programmer:3948 comp.unix.questions:9465 gnu.misc.discuss:2558 gnu.gcc.help:1784 comp.unix.ultrix:5921
  2. Newsgroups: comp.unix.programmer,comp.unix.questions,gnu.misc.discuss,gnu.gcc.help,comp.unix.ultrix
  3. Path: sparky!uunet!ulowell!cs.ulowell.edu!dnicodem
  4. From: dnicodem@cs.ulowell.edu (David Nicodemus)
  5. Subject: help with unexec
  6. Message-ID: <1992Jul28.014955.21272@ulowell.ulowell.edu>
  7. Sender: usenet@ulowell.ulowell.edu (News manager - ulowell)
  8. Organization: University of Massachusetts at Lowell Computer Science
  9. Date: Tue, 28 Jul 1992 01:49:55 GMT
  10. Lines: 22
  11.  
  12.  
  13.  
  14. I am looking for a way to force a program out of execution, and save an image
  15. of the program that can be restarted from the same point at a later time. 
  16.  
  17. It appears that the gnu unexec() function from gnu emacs will do this; however,
  18. the last parameter asks for a "starting address." 
  19.  
  20.     How can I find this "starting address" (which I want to be the
  21. current point of execution)?  Is this even possible? I am trying to implement 
  22. this on DECstation 5000's.
  23.  
  24. If anyone has anyone has information on finding this value, or on the
  25. whole idea in general any help would be much appreciated.
  26.  
  27.             Thanks
  28.                 Dave
  29.  
  30.  
  31. David Nicodemus         
  32. dnicodem@cs.ulowell.edu
  33. dnicodem@duck.ulowell.edu
  34.