debugger_dap: Fail to Initialize if debug symbol file is not available

This commit is contained in:
kichikuou
2021-11-06 12:06:57 +09:00
parent 4832b0ab84
commit fd4c8fb4d3
4 changed files with 12 additions and 5 deletions
+1 -2
View File
@@ -46,9 +46,8 @@ static struct {
void dbg_init(const char *symbols_path, boolean use_dap) {
dbg_impl = use_dap ? &dbg_dap_impl : &dbg_cui_impl;
dbg_impl->init();
dbg_impl->init(symbols_path);
dbg_state = DBG_STOPPED_ENTRY;
symbols = dsym_load(symbols_path);
}
void dbg_quit() {