Skip to content

Commit

Permalink
remove threads as a feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlohr committed Nov 17, 2024
1 parent 9de5fcf commit a884b4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions minichlink/microgdbstub.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ void HandleGDBPacket( void * dev, char * data, int len )
case 'Q':
if( StringMatch( data, "Attached" ) )
SendReplyFull( "1" ); //Attached to an existing process.
else if( StringMatch( data, "Supported" ) )
SendReplyFull( "PacketSize=f000;hwbreak+;vContSupported+;qXfer:memory-map:read+;qXfer:threads:read+;QStartNoAckMode+" );
else if( StringMatch( data, "Supported" ) ) // qXfer:threads:
SendReplyFull( "PacketSize=f000;hwbreak+;vContSupported+;qXfer:memory-map:read+;read+;QStartNoAckMode+" );
else if( StringMatch( data, "C") ) // Get Current Thread ID. (Can't be -1 or 0. Those are special)
SendReplyFull( "QC1" );
else if( StringMatch( data, "fThreadInfo" ) ) // Query all active thread IDs (Can't be 0 or 1)
Expand Down Expand Up @@ -457,7 +457,7 @@ void HandleGDBPacket( void * dev, char * data, int len )
RVSendGDBHaltReason( dev );
break;
default:
SendReplyFull( "E 98" );
SendReplyFull( "E 98" );
}
}
else
Expand Down

0 comments on commit a884b4f

Please sign in to comment.