Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions lisp/c/sysfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,20 @@ pointer argv[];
/* stack frame access
/* 1988-Apr-26
/****************************************************************/
pointer LISTALLBLOCKS(ctx,n,argv)
register context *ctx;
int n;
pointer *argv;
{ pointer blocks=NIL;
struct blockframe *bfp=ctx->blkfp;
int i=0;
while (bfp) {
if (bfp->kind==BLOCKFRAME) {
vpush(bfp->name);
i++;}
bfp=bfp->lexklink;}
return(stacknlist(ctx,i));}

pointer LISTALLCATCHERS(ctx,n,argv)
register context *ctx;
int n;
Expand Down Expand Up @@ -799,6 +813,7 @@ pointer mod;
/* defun(ctx,"MALLOC_DEBUG",mod,MALLOC_DEBUG,NULL);
/* defun(ctx,"MALLOC_VERIFY",mod,MALLOC_VERIFY,NULL); */
defun(ctx,"LIST-ALL-REFERENCES",mod,LISTALLREFERENCES,NULL);
defun(ctx,"LIST-ALL-BLOCKS",mod,LISTALLBLOCKS,NULL);
defun(ctx,"LIST-ALL-CATCHERS",mod,LISTALLCATCHERS,NULL);
defun(ctx,"LIST-ALL-BINDINGS",mod,LISTBINDINGS,NULL);
defun(ctx,"LIST-ALL-SPECIAL-BINDINGS",mod,LISTSPECIALBINDINGS,NULL);
Expand Down
2 changes: 1 addition & 1 deletion lisp/l/eusstart.l
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
ALLOC NEWSTACK RECLAIM RECLAIM-TREE
OBJECT-SIZE MEMORY-REPORT CLEAR-MEMORY-REPORT
ROOM LIST-ALL-CHUNKS LIST-ALL-INSTANCES ADDRESS PEEK POKE
LIST-ALL-REFERENCES LIST-ALL-CATCHERS LIST-ALL-BINDINGS
LIST-ALL-REFERENCES LIST-ALL-BLOCKS LIST-ALL-CATCHERS LIST-ALL-BINDINGS
LIST-ALL-SPECIAL-BINDINGS LIST-ALL-CLASSES))

(export '*threads*)
Expand Down
2 changes: 1 addition & 1 deletion lisp/l/exports.l
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
ALLOC NEWSTACK RECLAIM RECLAIM-TREE
OBJECT-SIZE MEMORY-REPORT CLEAR-MEMORY-REPORT
ROOM LIST-ALL-CHUNKS LIST-ALL-INSTANCES ADDRESS PEEK POKE
LIST-ALL-REFERENCES LIST-ALL-CATCHERS LIST-ALL-BINDINGS
LIST-ALL-REFERENCES LIST-ALL-BLOCKS LIST-ALL-CATCHERS LIST-ALL-BINDINGS
LIST-ALL-SPECIAL-BINDINGS LIST-ALL-CLASSES))


Expand Down