[Bug 25561] Setting watches in winedbg can generate unhandled floating point stack check exceptions

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 23 01:17:27 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=25561

--- Comment #4 from rainy6144 at gmail.com 2011-05-23 01:17:24 CDT ---
Created an attachment (id=34868)
 --> (http://bugs.winehq.org/attachment.cgi?id=34868)
Proposed patch

Apparently, when a debug register is used by a watchpoint,
raise_trap_exception() inadvertently removes the FPU state from the context,
and so when wineserver subsequently serves a get_thread_context request from
the debugger, it does not have the FPU state to pass to the debugger (i.e. in
the server's copy_context(), the FPU state is in flags but not in from->flags).

This patch seems to solve this problem.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list