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
8fef79cb
Commit
8fef79cb
authored
Dec 07, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Implement DebugBreak() for ARM64EC.
parent
6a5bb5d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
debug.c
dlls/kernelbase/debug.c
+6
-5
No files found.
dlls/kernelbase/debug.c
View file @
8fef79cb
...
...
@@ -120,13 +120,14 @@ BOOL WINAPI DECLSPEC_HOTPATCH DebugActiveProcessStop( DWORD pid )
*/
#ifdef __i386__
__ASM_STDCALL_FUNC
(
DebugBreak
,
0
,
"jmp "
__ASM_STDCALL
(
"DbgBreakPoint"
,
0
)
)
#elif defined(__aarch64__)
__ASM_GLOBAL_FUNC
(
DebugBreak
,
"brk #0xf000; ret"
)
#elif defined(__arm64ec__)
void
__attribute__
((
naked
))
WINAPI
DebugBreak
(
void
)
{
asm
(
"brk #0xf000; ret"
);
}
#elif defined(__x86_64__)
__ASM_GLOBAL_FUNC
(
DebugBreak
,
"jmp "
__ASM_NAME
(
"DbgBreakPoint"
)
)
#else
void
WINAPI
DebugBreak
(
void
)
{
DbgBreakPoint
();
}
#elif defined(__arm__)
__ASM_GLOBAL_FUNC
(
DebugBreak
,
"udf #0xfe; bx lr"
)
#endif
...
...
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