declare frame

This commit is contained in:
rsc 2005-02-11 02:16:18 +00:00
parent d89ce51a3b
commit 08ddcb74f0
2 changed files with 3 additions and 3 deletions

View file

@ -186,7 +186,7 @@ dynamicmap()
while m != 0 && n < 100 do { while m != 0 && n < 100 do {
complex Linkmap m; complex Linkmap m;
if m.name && *(m.name\b) && access(*(m.name\s)) then 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; m = m.next;
n = n+1; n = n+1;
} }
@ -197,7 +197,7 @@ dynamicmap()
defn defn
acidmap() acidmap()
{ {
dynamicmap(); // dynamicmap();
acidtypes(); acidtypes();
} }

View file

@ -84,7 +84,7 @@ defn _stkign(frame)
// only print the last one. // only print the last one.
defn _stk(regs, dolocals) defn _stk(regs, dolocals)
{ {
local stk, pc, fn, done, callerpc, paramlist, locallist; local stk, frame, pc, fn, done, callerpc, paramlist, locallist;
stk = strace(regs); stk = strace(regs);
if stkignore then { if stkignore then {