Skip to content

Commit

Permalink
0.6.8.2: converted /SHOW to /SHOW0 in SUB-GC to avoid infinite regress
Browse files Browse the repository at this point in the history
  • Loading branch information
William Harold Newman committed Oct 30, 2000
1 parent 5dc2868 commit a30fb4f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
9 changes: 7 additions & 2 deletions NEWS
Expand Up @@ -525,10 +525,15 @@ changes in sbcl-0.6.8 relative to sbcl-0.6.7:

changes in sbcl-0.6.9 relative to sbcl-0.6.8:

?? DESCRIBE now works on CONDITION objects.
?? The debugger now handles errors which arise when trying to print
* DESCRIBE now works on CONDITION objects.
* The debugger now handles errors which arise when trying to print
*DEBUG-CONDITION*, so that it's less likely to fall into infinite
regress.
?? The debugger is now better at walking down through the control stack
frames generated by signal handlers. In particular, compiling and loading
(DEFUN FAIL (X) (THROW 'FAIL-TAG X))
(FAIL 12)
then requesting a BACKTRACE at the debugger prompt now gives useful output.
?? signal handling reliability
?? fixed some bugs mentioned in the man page:
?? DEFUN-vs.-DECLAIM
10 changes: 5 additions & 5 deletions src/code/debug-int.lisp
Expand Up @@ -38,24 +38,24 @@
()
#!+sb-doc
(:documentation
"All debug-conditions inherit from this type. These are serious conditions
"All DEBUG-CONDITIONs inherit from this type. These are serious conditions
that must be handled, but they are not programmer errors."))

(define-condition no-debug-info (debug-condition)
()
#!+sb-doc
(:documentation "There is absolutely no debugging information available.")
(:documentation "There is no usable debugging information available.")
(:report (lambda (condition stream)
(declare (ignore condition))
(fresh-line stream)
(write-line "No debugging information available." stream))))
(write-line "no debugging information available" stream))))

(define-condition no-debug-function-returns (debug-condition)
((debug-function :reader no-debug-function-returns-debug-function
:initarg :debug-function))
#!+sb-doc
(:documentation
"The system could not return values from a frame with debug-function since
"The system could not return values from a frame with DEBUG-FUNCTION since
it lacked information about returning values.")
(:report (lambda (condition stream)
(let ((fun (debug-function-function
Expand Down Expand Up @@ -3629,7 +3629,7 @@
results)))
(nreverse results)))

;;;; MAKE-BOGUS-LRA (used for :function-end breakpoints)
;;;; MAKE-BOGUS-LRA (used for :FUNCTION-END breakpoints)

(defconstant
bogus-lra-constants
Expand Down
2 changes: 2 additions & 0 deletions src/code/early-extensions.lisp
Expand Up @@ -227,6 +227,7 @@
(let ((fun-name (symbolicate name "-CACHE-CLEAR")))
(forms
`(defun ,fun-name ()
(/show0 ,(concatenate 'string "entering " (string fun-name)))
(do ((,n-index ,(- total-size entry-size) (- ,n-index ,entry-size))
(,n-cache ,var-name))
((minusp ,n-index))
Expand All @@ -239,6 +240,7 @@
`(setf (svref ,n-cache ,i) ,val))
(values-indices)
default-values))
(/show0 ,(concatenate 'string "leaving " (string fun-name)))
(values)))
(forms `(,fun-name)))

Expand Down
2 changes: 1 addition & 1 deletion src/code/gc.lisp
Expand Up @@ -374,7 +374,7 @@
(incf *gc-run-time* (- (get-internal-run-time)
start-time))))
;; FIXME: should probably return (VALUES), here and in RETURN-FROM
(/show "returning from tail of SUB-GC")
(/show0 "returning from tail of SUB-GC")
nil)

;;; This routine is called by the allocation miscops to decide whether
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -15,4 +15,4 @@
;;; versions, and a string a la "0.6.5.12" is used for versions which
;;; aren't released but correspond only to CVS tags or snapshots.

"0.6.8.1"
"0.6.8.2"

0 comments on commit a30fb4f

Please sign in to comment.