Date: Sunday, December 26, 2010 @ 21:05:31 Author: rtoy Path: /project/cmucl/cvsroot/src/code
Modified: debug-int.lisp
NetBSD has a working dladdr, so we can use the fancy FIND-FOREIGN-FUNCTION-NAME.
----------------+ debug-int.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Index: src/code/debug-int.lisp diff -u src/code/debug-int.lisp:1.143 src/code/debug-int.lisp:1.144 --- src/code/debug-int.lisp:1.143 Sun Dec 26 18:14:21 2010 +++ src/code/debug-int.lisp Sun Dec 26 21:05:31 2010 @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /project/cmucl/cvsroot/src/code/debug-int.lisp,v 1.143 2010-12-26 23:14:21 rtoy Exp $") + "$Header: /project/cmucl/cvsroot/src/code/debug-int.lisp,v 1.144 2010-12-27 02:05:31 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1180,7 +1180,7 @@ frame)))))
-#+(or sparc (and x86 darwin) (and (or x86 amd64) linux) (and x86 solaris)) +#+(or sparc (and x86 (or darwin solaris netbsd)) (and (or x86 amd64) linux)) (defun find-foreign-function-name (address) "Return a string describing the foreign function near ADDRESS" (let ((addr (sys:sap-int address))) @@ -1203,7 +1203,7 @@ (alien:slot info 'filename) )))))))
-#-(or sparc (and x86 darwin) (and (or x86 amd64) linux) (and x86 solaris)) +#-(or sparc (and x86 (or darwin solaris netbsd)) (and (or x86 amd64) linux)) (defun find-foreign-function-name (ra) (declare (ignore ra)) "Foreign function call land")