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
+2 -1
View File
@@ -323,7 +323,8 @@ static void sigint_handler(int sig_num) {
dbg_state = DBG_STOPPED_INTERRUPT;
}
static void dbg_cui_init(void) {
static void dbg_cui_init(const char *symbols_path) {
symbols = dsym_load(symbols_path);
#ifdef HAVE_SIGACTION
sys_set_signalhandler(SIGINT, sigint_handler);
#endif