#NEWLINE# def getTResponse( self , forceSignal = None ) : #NEWLINE# #INDENT# '\n        Returns a GDB T response string.  This includes:\n            The signal encountered.\n            The current value of the important registers (sp, lr, pc).\n        ' #NEWLINE# if ( forceSignal is not None ) : #NEWLINE# #INDENT# response = ( 'T' + conversion . byteToHex2 ( forceSignal ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# response = ( 'T' + conversion . byteToHex2 ( self . getSignalValue ( ) ) ) #NEWLINE# #UNINDENT# response += self . getRegIndexValuePairs ( [ 7 , 13 , 14 , 15 ] ) #NEWLINE# response += 'thread:1;core:0;' #NEWLINE# return forceSignal