From 0acbfa0ca719a7b31c13cd7081046fa4d84427bb Mon Sep 17 00:00:00 2001 From: enler Date: Fri, 21 Jun 2024 00:54:10 +0800 Subject: [PATCH] Fix XML information in GdbCmds.cpp and add support for the 'vCont;' command. --- src/debug/GdbCmds.cpp | 2 +- src/debug/GdbStub.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/debug/GdbCmds.cpp b/src/debug/GdbCmds.cpp index c4706138..dac0dfb8 100644 --- a/src/debug/GdbCmds.cpp +++ b/src/debug/GdbCmds.cpp @@ -46,7 +46,7 @@ const char* TARGET_INFO_ARM9 = "cputype:12;cpusubtype:7;triple:arm-none-eabi;ost "" \ "" \ "" \ - "" \ + "" \ "" \ /* 16 regs */ \ diff --git a/src/debug/GdbStub.cpp b/src/debug/GdbStub.cpp index 53101cec..ca0c112d 100644 --- a/src/debug/GdbStub.cpp +++ b/src/debug/GdbStub.cpp @@ -166,6 +166,7 @@ SubcmdHandler GdbStub::Handlers_v[] = { { .MainCmd = 'v', .SubStr = "Stopped" , .Handler = GdbStub::Handle_v_Stopped }, { .MainCmd = 'v', .SubStr = "MustReplyEmpty", .Handler = GdbStub::Handle_v_MustReplyEmpty }, { .MainCmd = 'v', .SubStr = "Cont?" , .Handler = GdbStub::Handle_v_ContQuery }, + { .MainCmd = 'v', .SubStr = "Cont;" , .Handler = GdbStub::Handle_v_Cont }, { .MainCmd = 'v', .SubStr = "Cont" , .Handler = GdbStub::Handle_v_Cont }, { .MainCmd = 'v', .SubStr = NULL, .Handler = NULL }