Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!wanginst!vaxine!encore!talcott!harvard!seismo!brl-tgr!tgr!mckenna@HOPKINS-EECS-BRAVO.ARPA From: mckenna@HOPKINS-EECS-BRAVO.ARPA (Michael McKenna) Newsgroups: net.unix-wizards Subject: gcore and adb Message-ID: <8965@brl-tgr.ARPA> Date: Tue, 5-Mar-85 17:37:02 EST Article-I.D.: brl-tgr.8965 Posted: Tue Mar 5 17:37:02 1985 Date-Received: Sat, 9-Mar-85 11:07:31 EST Sender: news@brl-tgr.ARPA Lines: 31 I have a problem with gcore and adb. Maybe you can help me. I first create a file called test.c having these contents: main() { int i; for (i = 0 ;;) { sleep(2); printf("%d\n", i++); } } Then I compile it by typing in "cc -O -o test test.c". Then I type "test &". So the numbers 0,1,2,... show up on my terminal. Then I "kill -STOP pid" and "gcore pid". Now if I "adb test core.pid", I should be able to continue the process within adb with ":c19". However, I get the response "no process". What am I doing wrong? Also, can I put the job back into the background? I want to figure this out because I want an easy way to store the state of a long-running background job when the system is brought down for any reason.