Restarting a process from a core file

Gary Weimer 253-7796 weimer at garden.ssd.kodak.com
Thu May 2 05:14:51 AEST 1991


In article <1991May1.170008.12258 at neocad.com>, carl at neocad.com (Carl
Stern) writes:
|> 
|>      Ideally what I'd like to do is to be able to save the state of a
|> process at a given point in time and then restart it for debugging purposes.
|> I thought I could send it a signal to dump core, (I've tried QUIT,
ABRT, TRAP),
|> and then use dbx to debug the core file.  I can't continue execution though,
|> which is what I want to be able to do.  I believe this is because there is
|> no active process for dbx to debug.  So is there a way, or an
existing program,
|> that can take a core file and use it to initialize a process and run it?
|> i.e. reload the core file and restart it as a process.
|> If not, why not?

Have you tried sending SEGV then using 'cont' in dbx (I haven't)?

weimer at ssd.kodak.com ( Gary Weimer )



More information about the Comp.unix.wizards mailing list