https://bugs.winehq.org/show_bug.cgi?id=46472
--- Comment #31 from tjb troyb@us.ibm.com --- (In reply to Anthony Jagers from comment #30)
Update, I have received a flurry of emails since I CC'ed the five maintainers of the source file.
I'll just quote what two unnamed individuals have wrote.
there's a post with simple test code showing what the fix aimed for: https://lore.kernel.org/lkml/tip-9b3579fc6c6ac45502de1fa9a1fdf873805c2157@gi...
it might help narow down the potential issue in set_thread_context
Someone with access to the app will need to investigate what it's doing, specifically how it's trying to set the debug registers and why the values that it's setting are causing different behavior with that kernel change. Getting an strace of the wineserver process would probably help, or else adding printfs to all the PTRACE_PEEKUSER/POKEUSER calls in server/ptrace.c.
__
Well that's something.
I tried intercepting the peek and poke calls in ptrace.c but it seems the program never gets there ... either pilot error on my part (someone should independently check), or some other library got affected by the kernel change (maybe even the Nvidia binary blob... but it works fine with other wine programs besides BO2 on 4.19 with the new breakpoint behavior). Cue twilight zone jingle.