Skip to content
Snippets Groups Projects
Commit 53375be4 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

server: Reset hardware breakpoint sizes before setting them.


Workaround for kernel bug 200965.

Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 530df61f
Branches
Tags
No related merge requests found
......@@ -628,6 +628,9 @@ void set_thread_context( struct thread *thread, const context_t *context, unsign
if (!suspend_for_ptrace( thread )) return;
/* force all breakpoint lengths to 1, workaround for kernel bug 200965 */
ptrace( PTRACE_POKEUSER, pid, DR_OFFSET(7), 0x11110055 );
switch (context->cpu)
{
case CPU_x86:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment