소스 검색

Merge pull request #2146 from mailwl/gdbstub-ida-regs

Small fix to let IDA see target.xml
bunnei 9 년 전
부모
커밋
dc1e04137c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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:",