Skip to content
Snippets Groups Projects
Commit 89f16dfc authored by rtoy's avatar rtoy
Browse files

Document why SC_EFLAGS doesn't seem to work on Solaris/x86.

parent 2c8d7bae
No related branches found
No related tags found
No related merge requests found
/* x86-lispregs.h -*- Mode: C; -*- /* x86-lispregs.h -*- Mode: C; -*-
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-lispregs.h,v 1.15 2010/12/23 22:56:26 rtoy Exp $ * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-lispregs.h,v 1.16 2010/12/24 06:01:34 rtoy Exp $
*/ */
#ifndef _X86_LISPREGS_H_ #ifndef _X86_LISPREGS_H_
...@@ -63,9 +63,12 @@ ...@@ -63,9 +63,12 @@
#elif defined(SOLARIS) #elif defined(SOLARIS)
/* /*
* Solaris/x86 has access the the eflags value, but this doesn't * 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 * currently work. It seems that when we set the EFLAG to enable
* make this work. But the default code there works fine on * single-stepping, we never actually step the new instruction but we
* Solaris/x86. * stop at exactly the same place. This is not how it works on other
* OSes where we do step an instruction. I (rtoy) do not know why.
* 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])*/ /* #define SC_EFLAGS(sc) ((sc)->uc_mcontext.gregs[EFL])*/
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment