Don't allow changing the segment registers.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11531 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-03-02 11:52:53 +00:00
parent 6bb758a26f
commit 59ad83d0d9
@@ -81,10 +81,10 @@ arch_set_debug_cpu_state(const struct debug_cpu_state *cpuState)
// For this to be correct the calling function must not use these // For this to be correct the calling function must not use these
// registers (not even indirectly). // registers (not even indirectly).
frame->gs = cpuState->gs; // frame->gs = cpuState->gs;
frame->fs = cpuState->fs; // frame->fs = cpuState->fs;
frame->es = cpuState->es; // frame->es = cpuState->es;
frame->ds = cpuState->ds; // frame->ds = cpuState->ds;
frame->edi = cpuState->edi; frame->edi = cpuState->edi;
frame->esi = cpuState->esi; frame->esi = cpuState->esi;
frame->ebp = cpuState->ebp; frame->ebp = cpuState->ebp;
@@ -96,10 +96,10 @@ arch_set_debug_cpu_state(const struct debug_cpu_state *cpuState)
// frame->vector = cpuState->vector; // frame->vector = cpuState->vector;
// frame->error_code = cpuState->error_code; // frame->error_code = cpuState->error_code;
frame->eip = cpuState->eip; frame->eip = cpuState->eip;
frame->cs = cpuState->cs; // frame->cs = cpuState->cs;
// frame->eflags = cpuState->flags; // frame->eflags = cpuState->flags;
frame->user_esp = cpuState->user_esp; frame->user_esp = cpuState->user_esp;
frame->user_ss = cpuState->user_ss; // frame->user_ss = cpuState->user_ss;
} }
} }