Xref: utzoo comp.unix.questions:30925 comp.unix.wizards:25303 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!wuarchive!udel!rochester!kodak!ispd-newsserver!garden.ssd.kodak.com!weimer From: weimer@garden.ssd.kodak.com (Gary Weimer (253-7796)) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Restarting a process from a core file Message-ID: <1991May1.191451.22234@ssd.kodak.com> Date: 1 May 91 19:14:51 GMT References: <1991May1.170008.12258@neocad.com> Sender: news@ssd.kodak.com Reply-To: weimer@ssd.kodak.com Organization: Eastman Kodak Co.; Rochester, NY Lines: 19 In article <1991May1.170008.12258@neocad.com>, carl@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@ssd.kodak.com ( Gary Weimer )