Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* using a core file to restart a program
@ 1999-10-14  4:00 nall
  1999-10-21  4:00 ` Peter da Silva
  0 siblings, 1 reply; 2+ messages in thread
From: nall @ 1999-10-14  4:00 UTC (permalink / raw)



hello.
i'd like to know how hard it would be to use a core file to 
restart a program in the exact position it left off. basically,
the process would fork a child, and the child could raise(SIGQUIT).
then, at a point later in time, the program could be re-run, and 
use the core file dumped by that child process to start at the
exact point it left off. 

any help is appreciated.
thanks.
nall.

jonathan n. nall
nall@pa.dec.com
650-853-6508
DTN: 543-6508
KF6UKP





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: using a core file to restart a program
  1999-10-14  4:00 using a core file to restart a program nall
@ 1999-10-21  4:00 ` Peter da Silva
  0 siblings, 0 replies; 2+ messages in thread
From: Peter da Silva @ 1999-10-21  4:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

In article <Pine.OSF.4.05.9910141522130.13394-100000@bogart.pa.dec.com>,
nall  <nall@pa.dec.com> wrote:
> i'd like to know how hard it would be to use a core file to 
> restart a program in the exact position it left off.

That depends. If you're running Version 7 on a PDP-11, it's easy. When you
have to reload shared libraries and the like... hmmmm...

-- 
In hoc signo hack, Peter da Silva <peter@baileynm.com>
 `-_-'   Ar rug t� barr�g ar do mhact�re inniu? 
  'U`    <pfy> Sigs with pfy's markov chain.
                         -- "pfy", a markov chain IRC bot.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-10-21  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-14  4:00 using a core file to restart a program nall
1999-10-21  4:00 ` Peter da Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox