[debugger] Silence a -Wswitch warning out of gdb-stub.c

No one likes unhandled branches, and the compiler was just kindly reminding us
to take care of them.  Well, remind us no more, compiler.
This commit is contained in:
Fletcher Porter 2021-10-15 00:03:18 -07:00 committed by Vicki Pfau
parent 85e975c7af
commit a997e2b6dc
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ static void _gdbStubEntered(struct mDebugger* debugger, enum mDebuggerEntryReaso
case WATCHPOINT_RW:
type = "awatch";
break;
case WATCHPOINT_CHANGE:
break;
}
snprintf(stub->outgoing, GDB_STUB_MAX_LINE - 4, "T%02x%s:%08x;", SIGTRAP, type, info->address);
} else {