After creating a userland thread we didn't set up the breakpoints for it.
Fixes #4665. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33369 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fee1bc8eed
commit
268335a069
@ -446,6 +446,10 @@ arch_thread_enter_userspace(struct thread *t, addr_t entry, void *args1,
|
||||
thread_at_kernel_exit();
|
||||
// also disables interrupts
|
||||
|
||||
// install user breakpoints, if any
|
||||
if ((t->flags & THREAD_FLAGS_BREAKPOINTS_DEFINED) != 0)
|
||||
x86_init_user_debug_at_kernel_exit(NULL);
|
||||
|
||||
i386_set_tss_and_kstack(t->kernel_stack_top);
|
||||
|
||||
// set the CPU dependent GDT entry for TLS
|
||||
|
Loading…
Reference in New Issue
Block a user