forgot to include a proposed fix
; diffy -c 8db.c
/n/dump/2011/0904/sys/src/libmach/8db.c:2060,2066 - 8db.c:2060,2066
USED(modifier);
op = mkinstr(map, &instr, pc);
if (op == 0) {
- errstr(buf, n);
+ // errstr(buf, n);
return -1;
}
instr.curr = buf;
/n/dump/2011/0904/sys/src/libmach/8db.c:2076,2082 - 8db.c:2076,2082
int i;
if (mkinstr(map, &instr, pc) == 0) {
- errstr(buf, n);
+ // errstr(buf, n);
return -1;
}
for(i = 0; i < instr.n && n > 2; i++) {
before
; acid 1242799
/proc/1242799/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: asm(0xdfffef8c)
0xdfffef8c 0xdfffef8c <stdin>:2: (error) indir: -<cr><enq>
acid: <eot>
echo kill > /proc/1242799/ctl
after
; acid 1242799
/proc/1242799/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: asm(0xdfffef8c)
0xdfffef8c 0xdfffef8c <stdin>:2: (error) indir: can't read
instruction: can't translate address 0xdfffef8c
acid: <eot>
echo kill > /proc/1242799/ctl
- erik