gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] bug in debug.{c,lsp}


From: Peter Wood
Subject: [Gcl-devel] bug in debug.{c,lsp}
Date: Mon, 14 Oct 2002 19:27:22 +0200
User-agent: Mutt/1.4i

Hi

In a recently downloaded CVS GCL (about 45 minutes ago), in
lsp/debug.lsp there's a bug in the lisp definition of
#'print-stack-frame, where the last paramter 'env' has been left out.
This results in not being able to print a backtrace, since although
'env' doesn't appear to be used in the defun, #'print-stack-frame is
called from a number of places with more than six (ie 7) arguments.

The corresponding bug in debug.c is c function 'L50':

        if(vs_top-vs_base>6) too_many_arguments();

The '6' should be 7.

I would guess 'env' is included as a paramter because it might be
useful in future improvements to the debugger.  
Perhaps '(declare (ignore env))' ?

Regards,
Peter






reply via email to

[Prev in Thread] Current Thread [Next in Thread]