steve@dartvax.UUCP (05/19/87)
Subject: ADB scripts for kernel debugging are buggy Index: /usr/lib/adb 4.3BSD Description: An undetermined number of the ADB scripts in /usr/lib/adb will not work because they contain constant offsets which are wrong. Repeat-By: Run adb(1) on a crash dump and try using findproc or setproc. Fix: Here are diffs for 2 scripts, but there are certainly others that are in error that I have not located. *** /tmp/,RCSt1013873 Wed Apr 15 11:11:53 1987 --- findproc.nxt Wed Apr 15 10:05:56 1987 *************** *** 1,6 **** (*(<f+0t52)&0xffff)="pid"D ,#((*(<f+0t52)&0xffff)-<4)$< <l-1>l ! <f+0t164>f ,#<l$< $<findproc.nxt --- 1,6 ---- (*(<f+0t52)&0xffff)="pid"D ,#((*(<f+0t52)&0xffff)-<4)$< <l-1>l ! <f+0t160>f ,#<l$< $<findproc.nxt *** /tmp/,RCSt1013873 Wed Apr 15 11:11:54 1987 --- setproc.nxt Wed Apr 15 10:06:02 1987 *************** *** 1,6 **** (*(<f+0t52))&0xffff="pid "D ,#((*(<f+0t52)&0xffff)-<4)$<setproc.done <l-1>l ! <f+0t164>f ,#<l$< $<setproc.nxt --- 1,6 ---- (*(<f+0t52))&0xffff="pid "D ,#((*(<f+0t52)&0xffff)-<4)$<setproc.done <l-1>l ! <f+0t160>f ,#<l$< $<setproc.nxt