[cmucl-cvs] CMUCL commit: src/code (debug-int.lisp)

Raymond Toy rtoy at common-lisp.net
Sun Dec 26 23:14:22 UTC 2010


    Date: Sunday, December 26, 2010 @ 18:14:22
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/code

Modified: debug-int.lisp

Solaris/x86 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.142 src/code/debug-int.lisp:1.143
--- src/code/debug-int.lisp:1.142	Wed Jul 14 19:08:59 2010
+++ src/code/debug-int.lisp	Sun Dec 26 18:14:21 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.142 2010-07-14 23:08:59 rtoy Rel $")
+  "$Header: /project/cmucl/cvsroot/src/code/debug-int.lisp,v 1.143 2010-12-26 23:14:21 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -1180,7 +1180,7 @@
 	      frame)))))
 
 
-#+(or sparc (and x86 darwin) (and (or x86 amd64) linux))
+#+(or sparc (and x86 darwin) (and (or x86 amd64) linux) (and x86 solaris))
 (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))
+#-(or sparc (and x86 darwin) (and (or x86 amd64) linux) (and x86 solaris))
 (defun find-foreign-function-name (ra)
   (declare (ignore ra))
   "Foreign function call land")




More information about the cmucl-cvs mailing list