Commit 75bccf99 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

server: Remove dr7 PTRACE_POKEUSER workaround.

It is needed for Linux Kernel version 4.18, and has been fixed in 4.19. Also see https://bugzilla.kernel.org/show_bug.cgi?id=200965 for a more detailed description of the regression and the fix. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46472Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 4db8cdc2
......@@ -627,9 +627,6 @@ 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->machine)
{
case IMAGE_FILE_MACHINE_I386:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment