support variant symfile format with function sizes
Kevin 6500490+Zeturic@users.noreply.github.com
Mon, 07 Sep 2020 20:00:03 -0400
1 files changed,
7 insertions(+),
0 deletions(-)
jump to
M
src/debugger/symbols.c
→
src/debugger/symbols.c
@@ -97,6 +97,13 @@ // Directives are not handled yet
continue; } + char* buf2 = strchr(buf, ','); + + if (buf2 != NULL) { + // Commas separate names from function sizes + *buf2 = '\0'; + } + mDebuggerSymbolAdd(st, buf, address, -1); } }