[PATCH v2 13/14] gdbstub: Implement catching syscalls