6 #define GDBSTUB_DEVICE_USB 0
7 #define GDBSTUB_DEVICE_TCP 1
13 int (*open
)(struct dbginterface
*device
);
14 int (*close
)(struct dbginterface
*device
);
15 int (*wait
)(struct dbginterface
*device
);
16 int (*read
)(struct dbginterface
*device
,void *buffer
,int size
);
17 int (*write
)(struct dbginterface
*devicec
,const void *buffer
,int size
);