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 {
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();
}

View file

@ -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 {