diff --git a/src/debugger/symbols.c b/src/debugger/symbols.c index 1cfa246a3..8b76bd5a0 100644 --- a/src/debugger/symbols.c +++ b/src/debugger/symbols.c @@ -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); } }