support variant symfile format with function sizes

This commit is contained in:
Kevin 2020-09-07 20:00:03 -04:00 committed by Vicki Pfau
parent 87ec3f3d4a
commit 11f105eec7
1 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,13 @@ void mDebuggerLoadARMIPSSymbols(struct mDebuggerSymbols* st, struct VFile* vf) {
continue;
}
char* buf2 = strchr(buf, ',');
if (buf2 != NULL) {
// Commas separate names from function sizes
*buf2 = '\0';
}
mDebuggerSymbolAdd(st, buf, address, -1);
}
}