ntdll: Add SEH information to ARM64EC breakpoints.
This commit is contained in:
parent
0abbb467af
commit
2aee2990c0
1 changed files with 10 additions and 2 deletions
|
@ -1817,7 +1817,11 @@ void WINAPI DbgUiRemoteBreakin( void *arg )
|
||||||
*/
|
*/
|
||||||
void __attribute__((naked)) DbgBreakPoint(void)
|
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)
|
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__ */
|
#endif /* __arm64ec__ */
|
||||||
|
|
Loading…
Add table
Reference in a new issue