X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ferror-error.lisp;h=992b13e231bc5bad1218690f9aca7866a6f4075d;hb=8d490a4d6b9d7f156cf503826b3e3195e6f3ad39;hp=0cd9a2fdc7662488f79e6126d5bec3c3c7a75187;hpb=5ec8d0c1c8b7939818b75118b472fac1af554f9a;p=sbcl.git diff --git a/src/code/error-error.lisp b/src/code/error-error.lisp index 0cd9a2f..992b13e 100644 --- a/src/code/error-error.lisp +++ b/src/code/error-error.lisp @@ -20,18 +20,23 @@ (defun error-error (&rest messages) (let ((*error-error-depth* (1+ *error-error-depth*))) (when (> *error-throw-up-count* 50) + (/show0 "*ERROR-THROW-UP-COUNT* too big, trying HALT") (%primitive sb!c:halt) - (throw 'sb!impl::toplevel-catcher nil)) + (/show0 "*ERROR-THROW-UP-COUNT* too big, trying THROW") + (throw 'toplevel-catcher nil)) (case *error-error-depth* (1) (2 (stream-cold-init-or-reset)) (3 (incf *error-throw-up-count*) - (throw 'sb!impl::toplevel-catcher nil)) + (/show0 "*ERROR-ERROR-DEPTH* too big, trying THROW") + (throw 'toplevel-catcher nil)) (t + (/show0 "*ERROR-ERROR-DEPTH* too big, trying HALT") (%primitive sb!c:halt) - (throw 'sb!impl::toplevel-catcher nil))) + (/show0 "*ERROR-ERROR-DEPTH* too big, trying THROW") + (throw 'toplevel-catcher nil))) (with-standard-io-syntax (let ((*print-readably* nil))