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
b120836b
Commit
b120836b
authored
Mar 16, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Run tests again on Win95.
parent
e014154f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
debugger.c
dlls/kernel32/tests/debugger.c
+4
-2
No files found.
dlls/kernel32/tests/debugger.c
View file @
b120836b
...
...
@@ -44,6 +44,7 @@ static char** myARGV;
static
BOOL
(
WINAPI
*
pCheckRemoteDebuggerPresent
)(
HANDLE
,
PBOOL
);
static
BOOL
(
WINAPI
*
pDebugActiveProcessStop
)(
DWORD
);
static
BOOL
(
WINAPI
*
pDebugSetProcessKillOnExit
)(
BOOL
);
static
BOOL
(
WINAPI
*
pIsDebuggerPresent
)(
void
);
static
struct
_TEB
*
(
WINAPI
*
pNtCurrentTeb
)(
void
);
static
LONG
child_failures
;
...
...
@@ -529,7 +530,7 @@ static void doChild(int argc, char **argv)
ret
=
CloseHandle
(
parent
);
child_ok
(
ret
,
"CloseHandle failed, last error %#x.
\n
"
,
GetLastError
());
ret
=
IsDebuggerPresent
();
ret
=
p
IsDebuggerPresent
();
child_ok
(
ret
,
"Expected ret != 0, got %#x.
\n
"
,
ret
);
ret
=
pCheckRemoteDebuggerPresent
(
GetCurrentProcess
(),
&
debug
);
child_ok
(
ret
,
"CheckRemoteDebuggerPresent failed, last error %#x.
\n
"
,
GetLastError
());
...
...
@@ -539,7 +540,7 @@ static void doChild(int argc, char **argv)
{
pNtCurrentTeb
()
->
Peb
->
BeingDebugged
=
FALSE
;
ret
=
IsDebuggerPresent
();
ret
=
p
IsDebuggerPresent
();
child_ok
(
!
ret
,
"Expected ret != 0, got %#x.
\n
"
,
ret
);
ret
=
pCheckRemoteDebuggerPresent
(
GetCurrentProcess
(),
&
debug
);
child_ok
(
ret
,
"CheckRemoteDebuggerPresent failed, last error %#x.
\n
"
,
GetLastError
());
...
...
@@ -624,6 +625,7 @@ START_TEST(debugger)
pCheckRemoteDebuggerPresent
=
(
void
*
)
GetProcAddress
(
hdll
,
"CheckRemoteDebuggerPresent"
);
pDebugActiveProcessStop
=
(
void
*
)
GetProcAddress
(
hdll
,
"DebugActiveProcessStop"
);
pDebugSetProcessKillOnExit
=
(
void
*
)
GetProcAddress
(
hdll
,
"DebugSetProcessKillOnExit"
);
pIsDebuggerPresent
=
(
void
*
)
GetProcAddress
(
hdll
,
"IsDebuggerPresent"
);
hdll
=
GetModuleHandle
(
"ntdll.dll"
);
if
(
hdll
)
pNtCurrentTeb
=
(
void
*
)
GetProcAddress
(
hdll
,
"NtCurrentTeb"
);
...
...
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