From a884b4f1feae23f42932d45a58a2de8adeddd4a2 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sat, 16 Nov 2024 16:57:29 -0800 Subject: [PATCH] remove threads as a feature --- minichlink/microgdbstub.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/minichlink/microgdbstub.h b/minichlink/microgdbstub.h index 1b2cef09..3fdb3fe7 100644 --- a/minichlink/microgdbstub.h +++ b/minichlink/microgdbstub.h @@ -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) @@ -457,7 +457,7 @@ void HandleGDBPacket( void * dev, char * data, int len ) RVSendGDBHaltReason( dev ); break; default: - SendReplyFull( "E 98" ); + SendReplyFull( "E 98" ); } } else