Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!apple!usc!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!news.cs.indiana.edu!know!pluto.hemel.bull.co.uk!pmoore From: pmoore@hemel.bull.co.uk (Paul Moore) Newsgroups: comp.unix.programmer Subject: sdb with forked processes Message-ID: <1991Mar14.121626.26669@hemel.bull.co.uk> Date: 14 Mar 91 12:16:26 GMT Organization: Bull HN UK Lines: 15 I have a program that forks another process (it doesnt do an exec it is executing the same code just different bits). The only debuggers I have are sdb and adb. How can I debug the forked process in this environment. Is there any way to tell sdb which process I want to hit. It just explodes into bits (not very precise but fairly accurate) if I try to put breakpoints into either process once the fork has been done. any help gratefully received. -- !---------------------------------------------------------------! ! Paul Moore, Bull HN UK, Maxted Rd,Hemel Hempstead, HP2 7DZ. ! ! Phone:(44) 442 232222 Fax:(44) 442 234084 ! ! pmoore@hemel.bull.co.uk "a smile, a song and a core dump" ! !---------------------------------------------------------------!