[PATCH v2 12/14] gdbstub: Add syscall entry/return hooks