1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

ntdll: Add SEH information to ARM64EC breakpoints.

This commit is contained in:
Alexandre Julliard 2024-02-26 13:29:32 +01:00
parent 0abbb467af
commit 2aee2990c0

View file

@ -1817,7 +1817,11 @@ void WINAPI DbgUiRemoteBreakin( void *arg )
*/
void __attribute__((naked)) DbgBreakPoint(void)
{
asm( "brk #0xf000; ret" );
asm( ".seh_proc DbgBreakPoint\n\t"
".seh_endprologue\n\t"
"brk #0xf000\n\t"
"ret\n\t"
".seh_endproc" );
}
@ -1826,7 +1830,11 @@ void __attribute__((naked)) DbgBreakPoint(void)
*/
void __attribute__((naked)) DbgUserBreakPoint(void)
{
asm( "brk #0xf000; ret" );
asm( ".seh_proc DbgUserBreakPoint\n\t"
".seh_endprologue\n\t"
"brk #0xf000\n\t"
"ret\n\t"
".seh_endproc" );
}
#endif /* __arm64ec__ */