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
58e68a1b
Commit
58e68a1b
authored
Feb 27, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Always use .seh handlers on ARM.
parent
89336772
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
49 deletions
+0
-49
signal_arm.c
dlls/ntdll/signal_arm.c
+0
-49
No files found.
dlls/ntdll/signal_arm.c
View file @
58e68a1b
...
...
@@ -907,7 +907,6 @@ USHORT WINAPI RtlCaptureStackBackTrace( ULONG skip, ULONG count, PVOID *buffer,
/***********************************************************************
* RtlUserThreadStart (NTDLL.@)
*/
#ifdef __WINE_PE_BUILD
__ASM_GLOBAL_FUNC
(
RtlUserThreadStart
,
".seh_endprologue
\n\t
"
"mov r2, r1
\n\t
"
...
...
@@ -918,20 +917,6 @@ __ASM_GLOBAL_FUNC( RtlUserThreadStart,
"blx ip
\n
"
"1:
\t
.long "
__ASM_NAME
(
"pBaseThreadInitThunk"
)
"
\n\t
"
".seh_handler "
__ASM_NAME
(
"call_unhandled_exception_handler"
)
", %except"
)
#else
void
WINAPI
RtlUserThreadStart
(
PRTL_THREAD_START_ROUTINE
entry
,
void
*
arg
)
{
__TRY
{
pBaseThreadInitThunk
(
0
,
(
LPTHREAD_START_ROUTINE
)
entry
,
arg
);
}
__EXCEPT
(
call_unhandled_exception_filter
)
{
NtTerminateProcess
(
GetCurrentProcess
(),
GetExceptionCode
()
);
}
__ENDTRY
}
#endif
/******************************************************************
* LdrInitializeThunk (NTDLL.@)
...
...
@@ -946,7 +931,6 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unk2, ULONG_PTR unk3
/***********************************************************************
* process_breakpoint
*/
#ifdef __WINE_PE_BUILD
__ASM_GLOBAL_FUNC
(
process_breakpoint
,
".seh_endprologue
\n\t
"
".seh_handler process_breakpoint_handler, %except
\n\t
"
...
...
@@ -958,25 +942,10 @@ __ASM_GLOBAL_FUNC( process_breakpoint,
"str r0, [r2, #0x40]
\n\t
"
"mov r0, #0
\n\t
"
/* ExceptionContinueExecution */
"bx lr"
)
#else
void
WINAPI
process_breakpoint
(
void
)
{
__TRY
{
DbgBreakPoint
();
}
__EXCEPT_ALL
{
/* do nothing */
}
__ENDTRY
}
#endif
/***********************************************************************
* DbgUiRemoteBreakin (NTDLL.@)
*/
#ifdef __WINE_PE_BUILD
__ASM_GLOBAL_FUNC
(
DbgUiRemoteBreakin
,
".seh_endprologue
\n\t
"
".seh_handler DbgUiRemoteBreakin_handler, %except
\n\t
"
...
...
@@ -990,24 +959,6 @@ __ASM_GLOBAL_FUNC( DbgUiRemoteBreakin,
"DbgUiRemoteBreakin_handler:
\n\t
"
"mov sp, r1
\n\t
"
/* frame */
"b 1b"
)
#else
void
WINAPI
DbgUiRemoteBreakin
(
void
*
arg
)
{
if
(
NtCurrentTeb
()
->
Peb
->
BeingDebugged
)
{
__TRY
{
DbgBreakPoint
();
}
__EXCEPT_ALL
{
/* do nothing */
}
__ENDTRY
}
RtlExitUserThread
(
STATUS_SUCCESS
);
}
#endif
/**********************************************************************
* 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