X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdebug-int.lisp;h=76aaea45dc01dcbba6bfeb00f95f1392a04314cc;hb=224466fab9dc4e8b3faf13a121f827f198811bf6;hp=b3bfefe72ffeda311610c7ed195ed64e01e69c18;hpb=35e4dd42b8cd765f88e5946b6aa0e7859b278399;p=sbcl.git diff --git a/src/code/debug-int.lisp b/src/code/debug-int.lisp index b3bfefe..76aaea4 100644 --- a/src/code/debug-int.lisp +++ b/src/code/debug-int.lisp @@ -828,7 +828,7 @@ "undefined function")) (:foreign-function (make-bogus-debug-fun - "foreign function call land")) + (format nil "foreign function call land:"))) ((nil) (make-bogus-debug-fun "bogus stack frame")) @@ -874,7 +874,8 @@ "undefined function")) (:foreign-function (make-bogus-debug-fun - "foreign function call land")) + (format nil "foreign function call land: ra=#x~X" + (sap-int ra)))) ((nil) (make-bogus-debug-fun "bogus stack frame")) @@ -3290,14 +3291,3 @@ ;; (There used to be more cases back before sbcl-0.7.0, when ;; we did special tricks to debug the IR1 interpreter.) )) - -(defun print-code-locations (function) - (let ((debug-fun (fun-debug-fun function))) - (do-debug-fun-blocks (block debug-fun) - (do-debug-block-locations (loc block) - (fill-in-code-location loc) - (format t "~S code location at ~W" - (compiled-code-location-kind loc) - (compiled-code-location-pc loc)) - (sb!debug::print-code-location-source-form loc 0) - (terpri)))))