From 6ea0de010b7dcdae488183cf98518758dfe4e14a Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Sun, 26 Dec 2010 23:14:21 +0000
Subject: [PATCH] Solaris/x86 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 6f62747e7..56bed038f 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.142 2010/07/14 23:08:59 rtoy Rel $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/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")
-- 
GitLab