#NEWLINE# def vCommand( self , data ) : #NEWLINE# #INDENT# cmd = data . split ( '#' ) [ 0 ] #NEWLINE# logging . debug ( 'GDB vCommand: %s' , cmd ) #NEWLINE# if cmd . startswith ( 'Flash' ) : #NEWLINE# #INDENT# return self . flashOp ( data ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'Cont?' == cmd ) : #NEWLINE# #INDENT# return self . createRSPPacket ( 'vCont;c;C;s;S;t' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if cmd . startswith ( 'Cont' ) : #NEWLINE# #INDENT# return self . vCont ( cmd ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'Stopped' in self ) : #NEWLINE# #INDENT# return self . createRSPPacket ( 'OK' ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return self . createRSPPacket ( '' )