Hi all,
The arm-none-eabi-gdb binary in the windows 12.3.rel1 release is built with a debug configuration. The binary file is 263MB (contains symbols) whereas previous versions were around 6MB. I'm hoping ARM will see this and fix it for the next release :)
Cheers
David
Hi vvinayag,
Do you have any updates on this issue?
Regards,
Avi
Hi,
Apologies for the delay in responding.
The arm-none-eabi-gdb binary in the 12.3.Rel1 release contains debug symbols, which explains the large file size. We will address this in the next release.
With regards to the optimizations, I think that the binaries are built with -O2. If the GDB binary is slow, then this requires further investigation.
I wasn't able to reproduce the issue yet. If possible, are you able to confirm whether the slowness in reading a large ELF file is only in the Windows binary, or is it also slower on the Linux hosted arm-none-eabi-gdb ?
Kind regards,
Vasee
The issue is Windows-specific. Do you have information on the next planned release?
Hello, Please expect the a release (13.3) with this issue fixed in the next few days.
Hi Nikita Venkatesh , Having tried out version 13.3.Rel1 of the ARM GNU Toolchain from developer.arm.com/.../arm-gnu-toolchain-13.3.rel1-mingw-w64-i686-arm-none-eabi.zip, I still encounter the issue where GDB takes an extremely long time to read debug symbols (community.arm.com/.../the-latest-arm-none-eabi-gdb-version-12-3-rel1-takes-20-seconds-reading-symbols-from-elf-file). In this forum post (sysprogs.com/.../, someone mentioned that building the source themselves resolves the issue. However, I’m unsure why the official built version from ARM exhibits this problem. Please let me know if additional details are required, and when a fix might be available?
I am sorry that GDB is still taking a long time to read debug symbols. In the latest release we have ensured that GDB is not a debug build, and the binary size of arm-none-eabi-gdb.exe has reduced to 11MB.
We will investigate why reading symbols could take a long time. Are you able to provide a reference ELF file, or provide the steps to generate the ELF file you have?
Kind Regards,
Hi vvinayag , Due to company policies, I am unable to share the ELF file directly on the community forum. Is there a way I can share the file with you privately?
Hello,
Are you able to open a Support Case online and upload the file to that support case?
Any files shared via that support case are only visible to you and to Arm.
Open a Support Case