declare frame
diff --git a/acid/386 b/acid/386
index 12081eb..29842b6 100644
--- a/acid/386
+++ b/acid/386
@@ -186,7 +186,7 @@
 			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 @@
 defn
 acidmap()
 {
-	dynamicmap();
+//	dynamicmap();
 	acidtypes();
 }
 
diff --git a/acid/port b/acid/port
index 171a649..7d8657a 100644
--- a/acid/port
+++ b/acid/port
@@ -84,7 +84,7 @@
 // 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 {