debugger_dap: Support variables and setVariable requests

This commit is contained in:
kichikuou
2021-10-23 08:12:13 +09:00
parent 0793b57e3c
commit 40a4d8b2f6
5 changed files with 164 additions and 2 deletions
+4
View File
@@ -111,6 +111,10 @@ extern void svar_init(int cnt, int len) {
strvar_len = len;
}
extern int svar_count(void) {
return strvar_cnt;
}
/* 変数の初期化 */
extern boolean v_initVars() {
strVar = calloc(STRVAR_MAX, sizeof(char *));