bds@lzaz.ATT.COM (B.SZABLAK) (01/17/89)
Its come to my attention that my implementation of ptrace has a small bug that complicates the debugging of programs that fork other processes. The following context diff fixes this. Apply it to mm/forkexit.c using patch. Thanks to Kai-Uwe Bloem whose bitnet address is inaccessible to me for pointing this out. *** oforkexit.c Thu Jan 16 18:16:19 1989 --- forkexit.c Thu Jan 16 18:18:28 1989 *************** *** 83,88 **** --- 83,89 ---- while (i--) *dptr++ = *sptr++;/* copy from parent slot to child's */ rmc->mp_parent = who; /* record child's parent */ + rmc->mp_flags &= ~TRACED; /* child does not inherit trace status */ #ifndef ATARI_ST rmc->mp_seg[T].mem_phys = child_base; rmc->mp_seg[D].mem_phys = child_base + rmc->mp_seg[T].mem_len;