Fix GDB stub not responding to invalid Z packets

This commit is contained in:
Jeffrey Pfau 2014-09-01 02:06:07 -07:00
parent c1abe54ec9
commit 98cb4698f8
1 changed files with 2 additions and 0 deletions

View File

@ -297,6 +297,8 @@ static void _setBreakpoint(struct GDBStub* stub, const char* message) {
case '3': case '3':
// TODO: Watchpoints // TODO: Watchpoints
default: default:
stub->outgoing[0] = '\0';
_sendMessage(stub);
break; break;
} }
} }