all repos — mgba @ 11f105eec78e2744ccd20554171c7e0f7794ba14

mGBA Game Boy Advance Emulator

support variant symfile format with function sizes
Kevin 6500490+Zeturic@users.noreply.github.com
Mon, 07 Sep 2020 20:00:03 -0400
commit

11f105eec78e2744ccd20554171c7e0f7794ba14

parent

87ec3f3d4a8a28f4d7dde5b1069ae86183fcb12a

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M src/debugger/symbols.csrc/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); } }