gdbstub: small logic bug fix with defer_start
This commit is contained in:
parent
d8bb37fc2f
commit
8fedd5c240
|
@ -1043,8 +1043,10 @@ static void RemoveBreakpoint() {
|
|||
}
|
||||
|
||||
void HandlePacket() {
|
||||
if (!IsConnected() && defer_start) {
|
||||
ToggleServer(true);
|
||||
if (!IsConnected()) {
|
||||
if (defer_start) {
|
||||
ToggleServer(true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue