mirror of https://github.com/mgba-emu/mgba.git
[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:
parent
85e975c7af
commit
a997e2b6dc
|
@ -72,6 +72,8 @@ static void _gdbStubEntered(struct mDebugger* debugger, enum mDebuggerEntryReaso
|
||||||
case WATCHPOINT_RW:
|
case WATCHPOINT_RW:
|
||||||
type = "awatch";
|
type = "awatch";
|
||||||
break;
|
break;
|
||||||
|
case WATCHPOINT_CHANGE:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
snprintf(stub->outgoing, GDB_STUB_MAX_LINE - 4, "T%02x%s:%08x;", SIGTRAP, type, info->address);
|
snprintf(stub->outgoing, GDB_STUB_MAX_LINE - 4, "T%02x%s:%08x;", SIGTRAP, type, info->address);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue