plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 08ddcb74f06abc76bf2ed4070b5eba98bc07d48c
parent d89ce51a3b4be96d12066eadbcffc0587a2673a6
Author: rsc <devnull@localhost>
Date:   Fri, 11 Feb 2005 02:16:18 +0000

declare frame

Diffstat:
Macid/386 | 4++--
Macid/port | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/acid/386 b/acid/386 @@ -186,7 +186,7 @@ dynamicmap() while m != 0 && n < 100 do { complex Linkmap m; if m.name && *(m.name\b) && access(*(m.name\s)) then - textfile({*(m.name\s), m.addr\X}); + print("textfile({\"", *(m.name\s), "\", ", m.addr\X, "});\n"); m = m.next; n = n+1; } @@ -197,7 +197,7 @@ dynamicmap() defn acidmap() { - dynamicmap(); +// dynamicmap(); acidtypes(); } diff --git a/acid/port b/acid/port @@ -84,7 +84,7 @@ defn _stkign(frame) // only print the last one. defn _stk(regs, dolocals) { - local stk, pc, fn, done, callerpc, paramlist, locallist; + local stk, frame, pc, fn, done, callerpc, paramlist, locallist; stk = strace(regs); if stkignore then {