Allow setting a couple of EFLAGS bits.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11534 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-03-02 14:53:11 +00:00
parent 935486a09f
commit 121f7fb374
@@ -97,7 +97,8 @@ arch_set_debug_cpu_state(const struct debug_cpu_state *cpuState)
// frame->error_code = cpuState->error_code;
frame->eip = cpuState->eip;
// frame->cs = cpuState->cs;
// frame->eflags = cpuState->flags;
frame->flags = (frame->flags & ~X86_EFLAGS_USER_SETTABLE_FLAGS)
| (cpuState->eflags & X86_EFLAGS_USER_SETTABLE_FLAGS);
frame->user_esp = cpuState->user_esp;
// frame->user_ss = cpuState->user_ss;
}