Closed TommyMurphyTM1234 closed 2 months ago
According to Arm, this is a an instruction that must halt the debugger, something like a breakpoint.
If the debugger supports semihosting, and semihosting is enabled, the debugger must check whether the breakpoint is a regular one or a semihosting breakpoint. In the second case it must process the requested service and resume execution.
So yes, semihosting services are invoked via custom software breakpoints.
I will update the text to use "breakpoint instruction sequence" instead of "trap instruction sequence"
Surely it's a breakpoint instruction sequence?