Ver código fonte

Small fix to let IDA see target.xml

mailwl 9 anos atrás
pai
commit
3c37ee434a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/core/gdbstub/gdbstub.cpp

+ 1 - 1
src/core/gdbstub/gdbstub.cpp

@@ -413,7 +413,7 @@ static void HandleQuery() {
 
     if (strcmp(query, "TStatus") == 0) {
         SendReply("T0");
-    } else if (strncmp(query, "Supported:", strlen("Supported:")) == 0) {
+    } else if (strncmp(query, "Supported", strlen("Supported")) == 0) {
         // PacketSize needs to be large enough for target xml
         SendReply("PacketSize=800;qXfer:features:read+");
     } else if (strncmp(query, "Xfer:features:read:target.xml:",