From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6c05643a4638e537 X-Google-Attributes: gidfee84,public From: mskucher@vertex.tor.hookup.net (Murray S. Kucherawy) Subject: Re: dbx on Alpha Date: 1996/09/13 Message-ID: <51cl7m$ps2@vertex.tor.hookup.net>#1/1 X-Deja-AN: 180457879 references: <515uu5$o3e@newton.cc.rl.ac.uk> organization: HookUp Communication Corporation, Oakville, Ontario, CANADA nntp-posting-user: mskucher newsgroups: comp.unix.osf.osf1 In article <515uu5$o3e@newton.cc.rl.ac.uk>, Brian McIlwrath wrote: >I only use Digital Unix periodically and, often when I come to debug some >code, I hit the folling problem: > >If a process forks off a child to do some work for it dbx says > >"New child attached. Use switch to gain access to process nnnnnn" > >It then seems to hang. There is no dbx prompt to type 'switch' to. I am >totally uninterested in the child process. I want to debug the parent! >I have NOT used "attach" to gain access to a running program (it was >started by a simple 'dbx imagefile') > >All most frustrating. > >Is there an answer? Perhaps the main (attached) program is waiting for input at that point? -- Murray S. Kucherawy ====================================== mskucher@hookup.net Vice-President, Software Services HookUp Communication Corporation (905) 847-8000 NIC Handle "MSK" Oakville, Ontario, CANADA -- EMACS: Eight Megs And Constantly Swapping --