Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
dc80a003
Commit
dc80a003
authored
Jan 02, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Also store FPU registers in RtlRaiseException().
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=44485
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
62d80cff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
signal_i386.c
dlls/ntdll/signal_i386.c
+14
-3
No files found.
dlls/ntdll/signal_i386.c
View file @
dc80a003
...
...
@@ -2499,6 +2499,19 @@ NTSTATUS WINAPI NtRaiseException( EXCEPTION_RECORD *rec, CONTEXT *context, BOOL
}
/*******************************************************************
* raise_exception_full_context
*
* Raise an exception with the full CPU context.
*/
void
raise_exception_full_context
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
,
BOOL
first_chance
)
{
save_fpu
(
context
);
/* FIXME: extended registers, debug registers */
RtlRaiseStatus
(
NtRaiseException
(
rec
,
context
,
first_chance
));
}
/***********************************************************************
* RtlRaiseException (NTDLL.@)
*/
...
...
@@ -2520,9 +2533,7 @@ __ASM_STDCALL_FUNC( RtlRaiseException, 4,
"pushl $1
\n\t
"
"pushl %eax
\n\t
"
"pushl %ecx
\n\t
"
"call "
__ASM_NAME
(
"NtRaiseException"
)
__ASM_STDCALL
(
12
)
"
\n\t
"
"pushl %eax
\n\t
"
"call "
__ASM_NAME
(
"RtlRaiseStatus"
)
__ASM_STDCALL
(
4
)
"
\n\t
"
"call "
__ASM_NAME
(
"raise_exception_full_context"
)
"
\n\t
"
"leave
\n\t
"
__ASM_CFI
(
".cfi_def_cfa %esp,4
\n\t
"
)
__ASM_CFI
(
".cfi_same_value %ebp
\n\t
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment