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
ba6a6d57
Commit
ba6a6d57
authored
Jan 29, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move DbgUiRemoteBreakin() to the CPU backends.
parent
d1836e22
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
102 additions
and
12 deletions
+102
-12
process.c
dlls/ntdll/process.c
+0
-12
signal_arm.c
dlls/ntdll/signal_arm.c
+20
-0
signal_arm64.c
dlls/ntdll/signal_arm64.c
+20
-0
signal_arm64ec.c
dlls/ntdll/signal_arm64ec.c
+20
-0
signal_i386.c
dlls/ntdll/signal_i386.c
+21
-0
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+21
-0
No files found.
dlls/ntdll/process.c
View file @
ba6a6d57
...
...
@@ -36,8 +36,6 @@
#include "ntdll_misc.h"
#include "wine/exception.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
process
);
/******************************************************************************
* RtlGetCurrentPeb [NTDLL.@]
...
...
@@ -703,16 +701,6 @@ NTSTATUS WINAPI DbgUiConvertStateChangeStructure( DBGUI_WAIT_STATE_CHANGE *state
}
/***********************************************************************
* DbgUiRemoteBreakin (NTDLL.@)
*/
void
WINAPI
DbgUiRemoteBreakin
(
void
*
arg
)
{
TRACE
(
"
\n
"
);
if
(
NtCurrentTeb
()
->
Peb
->
BeingDebugged
)
process_breakpoint
();
RtlExitUserThread
(
STATUS_SUCCESS
);
}
/***********************************************************************
* DbgUiIssueRemoteBreakin (NTDLL.@)
*/
NTSTATUS
WINAPI
DbgUiIssueRemoteBreakin
(
HANDLE
process
)
...
...
dlls/ntdll/signal_arm.c
View file @
ba6a6d57
...
...
@@ -1685,6 +1685,26 @@ void WINAPI process_breakpoint(void)
}
#endif
/***********************************************************************
* DbgUiRemoteBreakin (NTDLL.@)
*/
void
WINAPI
DbgUiRemoteBreakin
(
void
*
arg
)
{
if
(
NtCurrentTeb
()
->
Peb
->
BeingDebugged
)
{
__TRY
{
DbgBreakPoint
();
}
__EXCEPT_ALL
{
/* do nothing */
}
__ENDTRY
}
RtlExitUserThread
(
STATUS_SUCCESS
);
}
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
...
...
dlls/ntdll/signal_arm64.c
View file @
ba6a6d57
...
...
@@ -1582,6 +1582,26 @@ __ASM_GLOBAL_FUNC( process_breakpoint,
"mov w0, #0
\n\t
"
/* ExceptionContinueExecution */
"ret"
)
/***********************************************************************
* DbgUiRemoteBreakin (NTDLL.@)
*/
void
WINAPI
DbgUiRemoteBreakin
(
void
*
arg
)
{
if
(
NtCurrentTeb
()
->
Peb
->
BeingDebugged
)
{
__TRY
{
DbgBreakPoint
();
}
__EXCEPT_ALL
{
/* do nothing */
}
__ENDTRY
}
RtlExitUserThread
(
STATUS_SUCCESS
);
}
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
...
...
dlls/ntdll/signal_arm64ec.c
View file @
ba6a6d57
...
...
@@ -2016,6 +2016,26 @@ __ASM_GLOBAL_FUNC( "#process_breakpoint",
"mov w0, #0
\n\t
"
/* ExceptionContinueExecution */
"ret"
)
/***********************************************************************
* DbgUiRemoteBreakin (NTDLL.@)
*/
void
WINAPI
DbgUiRemoteBreakin
(
void
*
arg
)
{
if
(
NtCurrentTeb
()
->
Peb
->
BeingDebugged
)
{
__TRY
{
DbgBreakPoint
();
}
__EXCEPT_ALL
{
/* do nothing */
}
__ENDTRY
}
RtlExitUserThread
(
STATUS_SUCCESS
);
}
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
...
...
dlls/ntdll/signal_i386.c
View file @
ba6a6d57
...
...
@@ -646,6 +646,27 @@ void WINAPI process_breakpoint(void)
}
/***********************************************************************
* DbgUiRemoteBreakin (NTDLL.@)
*/
void
WINAPI
DbgUiRemoteBreakin
(
void
*
arg
)
{
if
(
NtCurrentTeb
()
->
Peb
->
BeingDebugged
)
{
__TRY
{
DbgBreakPoint
();
}
__EXCEPT_ALL
{
/* do nothing */
}
__ENDTRY
}
RtlExitUserThread
(
STATUS_SUCCESS
);
}
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
...
...
dlls/ntdll/signal_x86_64.c
View file @
ba6a6d57
...
...
@@ -1745,6 +1745,27 @@ void WINAPI process_breakpoint(void)
#endif
/***********************************************************************
* DbgUiRemoteBreakin (NTDLL.@)
*/
void
WINAPI
DbgUiRemoteBreakin
(
void
*
arg
)
{
if
(
NtCurrentTeb
()
->
Peb
->
BeingDebugged
)
{
__TRY
{
DbgBreakPoint
();
}
__EXCEPT_ALL
{
/* do nothing */
}
__ENDTRY
}
RtlExitUserThread
(
STATUS_SUCCESS
);
}
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
...
...
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