Skip to content
Snippets Groups Projects
Commit 5c6f325d authored by rtoy's avatar rtoy
Browse files

Abstract out the access to the eflags register in a sigcontext.

x86-lispregs.h:
o Add SC_EFLAGS macro to access the eflags register (currently only
  for linux and darwin).

x86-arch.c:
o Use the SC_EFLAGS macro to enable/disable single-stepping.
o If SC_EFLAGS is not defined, use the single-step helper stuff.
parent 7d7c3c3e
No related branches found
No related tags found
Loading
Loading
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