[cmucl-commit] CMUCL commit: src/lisp (x86-lispregs.h)

Raymond Toy rtoy at common-lisp.net
Thu Dec 23 23:56:26 CET 2010


    Date: Thursday, December 23, 2010 @ 17:56:26
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/lisp

Modified: x86-lispregs.h

Add implementation of SC_EFLAGS for Solaris/x86, but disable for now
because it makes breakpoints not work for some reason.


----------------+
 x86-lispregs.h |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)


Index: src/lisp/x86-lispregs.h
diff -u src/lisp/x86-lispregs.h:1.14 src/lisp/x86-lispregs.h:1.15
--- src/lisp/x86-lispregs.h:1.14	Thu Dec 23 17:23:48 2010
+++ src/lisp/x86-lispregs.h	Thu Dec 23 17:56:26 2010
@@ -1,5 +1,5 @@
 /* x86-lispregs.h -*- Mode: C; -*-
- * $Header: /project/cmucl/cvsroot/src/lisp/x86-lispregs.h,v 1.14 2010-12-23 22:23:48 rtoy Exp $
+ * $Header: /project/cmucl/cvsroot/src/lisp/x86-lispregs.h,v 1.15 2010-12-23 22:56:26 rtoy Exp $
  */
 
 #ifndef _X86_LISPREGS_H_
@@ -60,6 +60,14 @@
 #define SC_EFLAGS(sc) ((sc)->uc_mcontext.gregs[REG_EFL])
 #elif defined(__NetBSD__)
 #define SC_EFLAGS(sc) ((sc)->uc_mcontext.__gregs[_REG_EFL])
+#elif defined(SOLARIS)
+/*
+ * Solaris/x86 has access the the eflags value, but this doesn't
+ * currently work.  Some more work needs to be done in x86-arch.c to
+ * make this work.  But the default code there works fine on
+ * Solaris/x86.
+ */
+/* #define SC_EFLAGS(sc) ((sc)->uc_mcontext.gregs[EFL])*/
 #endif
 
 #endif /* _X86_LISPREGS_H_ */


More information about the cmucl-commit mailing list