Thread View: net.bugs.2bsd
1 messages
1 total messages
Started by Vic Abell
Tue, 23 Sep 1986 15:45
adb trace fix
Author: Vic Abell
Date: Tue, 23 Sep 1986 15:45
Date: Tue, 23 Sep 1986 15:45
20 lines
1179 bytes
1179 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads