From ec46ec0148679a23744fff394dd93d18425c39a2 Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Mon, 27 Dec 2010 02:05:31 +0000 Subject: [PATCH] NetBSD has a working dladdr, so we can use the fancy FIND-FOREIGN-FUNCTION-NAME. --- code/debug-int.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/debug-int.lisp b/code/debug-int.lisp index 56bed038f..443b86eee 100644 --- a/code/debug-int.lisp +++ b/code/debug-int.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/debug-int.lisp,v 1.143 2010/12/26 23:14:21 rtoy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/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") -- GitLab