Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c709adcf
Commit
c709adcf
authored
Apr 10, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Update the context on send_debug_event for any successful status.
parent
9096368b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
exception.c
dlls/ntdll/exception.c
+1
-1
exception.c
dlls/ntdll/tests/exception.c
+1
-2
No files found.
dlls/ntdll/exception.c
View file @
c709adcf
...
...
@@ -226,7 +226,7 @@ static NTSTATUS send_debug_event( EXCEPTION_RECORD *rec, int first_chance, CONTE
ret
=
wine_server_call
(
req
);
}
SERVER_END_REQ
;
if
(
!
ret
)
ret
=
context_from_server
(
context
,
&
server_context
);
if
(
ret
>=
0
)
context_from_server
(
context
,
&
server_context
);
return
ret
;
}
...
...
dlls/ntdll/tests/exception.c
View file @
c709adcf
...
...
@@ -206,14 +206,13 @@ static LONG CALLBACK rtlraiseexception_vectored_handler(EXCEPTION_POINTERS *Exce
trace
(
"vect. handler %08x addr:%p context.Eip:%x
\n
"
,
rec
->
ExceptionCode
,
rec
->
ExceptionAddress
,
context
->
Eip
);
todo_wine
{
todo_wine
ok
(
rec
->
ExceptionAddress
==
(
char
*
)
code_mem
+
0xb
,
"ExceptionAddress at %p instead of %p
\n
"
,
rec
->
ExceptionAddress
,
(
char
*
)
code_mem
+
0xb
);
if
(
pNtCurrentTeb
()
->
Peb
->
BeingDebugged
)
ok
((
void
*
)
context
->
Eax
==
pRtlRaiseException
,
"debugger managed to modify Eax to %x should be %p
\n
"
,
context
->
Eax
,
pRtlRaiseException
);
}
/* check that context.Eip is fixed up only for EXCEPTION_BREAKPOINT
* even if raised by RtlRaiseException
...
...
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