sdb with forked processes

Paul Moore pmoore at hemel.bull.co.uk
Thu Mar 14 22:16:26 AEST 1991


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 at hemel.bull.co.uk     "a smile, a song and a core dump" !
!---------------------------------------------------------------!



More information about the Comp.unix.programmer mailing list