The current SingleThreadOps::resume takes a callback check_gdb_interrupt which is expected to be called periodically to check if an interrupt packet is sent by the GDB client.
Instead of this design, can we have an API that lets us block on a select(), poll() or a similar syscall?
The current
SingleThreadOps::resumetakes a callbackcheck_gdb_interruptwhich is expected to be called periodically to check if an interrupt packet is sent by the GDB client.Instead of this design, can we have an API that lets us block on a
select(),poll()or a similar syscall?