X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdebug.lisp;h=1f633488e311e11cbf6222163811ec981a186879;hb=cee8ef591040db9a79cdd19297867672a9529051;hp=f7138e3c1b24a2fa304508199795032ee7f0909b;hpb=1e5296127f5b384a2171646747021ebeee73b801;p=sbcl.git diff --git a/src/code/debug.lisp b/src/code/debug.lisp index f7138e3..1f63348 100644 --- a/src/code/debug.lisp +++ b/src/code/debug.lisp @@ -508,7 +508,7 @@ thread, NIL otherwise." (setf reversed-result (append (reverse (multiple-value-list - (sb!c::%more-arg-values context count))) + (sb!c::%more-arg-values context 0 count))) reversed-result)) (return-from enumerating)) (push (make-unprintable-object "unavailable &MORE argument") @@ -559,7 +559,7 @@ thread, NIL otherwise." (butlast args 2) (if (fixnump count) (multiple-value-list - (sb!c:%more-arg-values context count)) + (sb!c:%more-arg-values context 0 count)) (list (make-unprintable-object "more unavailable arguments"))))) args) @@ -1595,7 +1595,7 @@ and LDB (the low-level debugger). See also ENABLE-DEBUGGER." (when (and more-context more-count) (format *debug-io* "~S = ~S~%" 'more - (multiple-value-list (sb!c:%more-arg-values more-context more-count)))) + (multiple-value-list (sb!c:%more-arg-values more-context 0 more-count)))) (cond ((not any-p) (format *debug-io* @@ -1619,12 +1619,6 @@ and LDB (the low-level debugger). See also ENABLE-DEBUGGER." ;;;; source location printing -;;; Stuff to clean up before saving a core -(defun debug-deinit () - ;; Nothing to do right now. Once there was, maybe once there - ;; will be again. - ) - (defun code-location-source-form (location context &optional (errorp t)) (let* ((start-location (maybe-block-start-location location)) (form-num (sb!di:code-location-form-number start-location))) @@ -1846,11 +1840,6 @@ and LDB (the low-level debugger). See also ENABLE-DEBUGGER." (sb!di:debug-var-info-available (sb!di:code-location-debug-fun (sb!di:frame-code-location frame)))) - -;; Hack: ensure that *U-T-F-F* has a tls index. -#!+unwind-to-frame-and-call-vop -(let ((sb!vm::*unwind-to-frame-function* (lambda ())))) - ;;;; debug loop command utilities