From bd3cdb261573b529744ca38a15a05043b6e2d018 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Fri, 15 Jan 1993 02:25:33 +0000 Subject: [PATCH] Fixed COMPUTE-CALLING-FRAME to not try using %CODE-DEBUG-INFO on things that arn't code components. --- code/debug-int.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/debug-int.lisp b/code/debug-int.lisp index f11cdfaec..76eb58772 100644 --- a/code/debug-int.lisp +++ b/code/debug-int.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/debug-int.lisp,v 1.54 1992/12/17 09:04:41 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/debug-int.lisp,v 1.55 1993/01/15 02:25:33 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1004,7 +1004,8 @@ 0 nil))) (find-escaped-frame caller)) - (if (eq (kernel:%code-debug-info code) :bogus-lra) + (if (and (kernel:code-component-p code) + (eq (kernel:%code-debug-info code) :bogus-lra)) (let ((real-lra (kernel:code-header-ref code real-lra-slot))) (compute-calling-frame caller real-lra up-frame)) (let ((d-fun (case code -- GitLab