abe@j.cc.purdue.edu (Vic Abell) (09/23/86)
If you are running a 2.9BSD kernel with networking, you may have noticed that adb won't give a call trace ($c or $C). This is a result of adb's inability to deal with a USIZE > 16. The following change to setup.c in /usr/src/bin/adb will correct the problem. < current -- setup.c -- modified > 242c242,243 < if ((ar0>(POS *)0140000) & (ar0<(POS *)0142000) --- > if ((ar0>(POS *)0140000) > && (ar0<(POS *)(0142000+ctob(USIZE))) 244c245 < uar0 = ar0 - 0140000 + (unsigned)corhdr; --- > uar0=(POS *)&corhdr[(int)(ar0-(POS *)0140000)]; Vic Abell, Purdue University Computing Center ...!pur-ee!j.cc.purdue.edu!abe abe@j.cc.purdue.edu