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
d1836e22
Commit
d1836e22
authored
Jan 29, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Avoid calling DbgBreakPoint() in process_breakpoint().
parent
f704b80a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
11 deletions
+2
-11
debugger.c
dlls/kernel32/tests/debugger.c
+0
-9
signal_i386.c
dlls/ntdll/signal_i386.c
+1
-1
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+1
-1
No files found.
dlls/kernel32/tests/debugger.c
View file @
d1836e22
...
@@ -1381,16 +1381,7 @@ static void test_debug_children(const char *name, DWORD flag, BOOL debug_child,
...
@@ -1381,16 +1381,7 @@ static void test_debug_children(const char *name, DWORD flag, BOOL debug_child,
/* Except for wxppro and w2008, the initial breakpoint is now somewhere else, possibly within LdrInitShimEngineDynamic,
/* Except for wxppro and w2008, the initial breakpoint is now somewhere else, possibly within LdrInitShimEngineDynamic,
* It's also catching exceptions and ContinueDebugEvent(DBG_EXCEPTION_NOT_HANDLED) should not crash the child now */
* It's also catching exceptions and ContinueDebugEvent(DBG_EXCEPTION_NOT_HANDLED) should not crash the child now */
if
(
broken
(
ctx
.
ev
.
u
.
Exception
.
ExceptionRecord
.
ExceptionAddress
==
pDbgBreakPoint
))
{
win_skip
(
"Ignoring initial breakpoint address check
\n
"
);
pass_exception
=
FALSE
;
}
else
{
todo_wine
ok
(
ctx
.
ev
.
u
.
Exception
.
ExceptionRecord
.
ExceptionAddress
!=
pDbgBreakPoint
,
"ExceptionAddress == pDbgBreakPoint
\n
"
);
ok
(
ctx
.
ev
.
u
.
Exception
.
ExceptionRecord
.
ExceptionAddress
!=
pDbgBreakPoint
,
"ExceptionAddress == pDbgBreakPoint
\n
"
);
}
if
(
pass_exception
)
if
(
pass_exception
)
{
{
...
...
dlls/ntdll/signal_i386.c
View file @
d1836e22
...
@@ -636,7 +636,7 @@ void WINAPI process_breakpoint(void)
...
@@ -636,7 +636,7 @@ void WINAPI process_breakpoint(void)
{
{
__TRY
__TRY
{
{
DbgBreakPoint
(
);
__asm__
volatile
(
"int $3"
);
}
}
__EXCEPT_ALL
__EXCEPT_ALL
{
{
...
...
dlls/ntdll/signal_x86_64.c
View file @
d1836e22
...
@@ -1734,7 +1734,7 @@ void WINAPI process_breakpoint(void)
...
@@ -1734,7 +1734,7 @@ void WINAPI process_breakpoint(void)
{
{
__TRY
__TRY
{
{
DbgBreakPoint
(
);
__asm__
volatile
(
"int $3"
);
}
}
__EXCEPT_ALL
__EXCEPT_ALL
{
{
...
...
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