Replies: 3 comments 3 replies
-
Unfortunately I have no experience with non-UTF encodings, so It might be very well a configuration issue, or it might not be supported at all. The compilation configuration generally follows the configuration used by Arm in the Do you know of other toolchain builds that do not have this issue? |
Beta Was this translation helpful? Give feedback.
-
|
I found that xpack-gcc12.2 does not have this issue, but xpack-gcc13 and later versions all have this issue. Is there any change in the compilation configuration? |
Beta Was this translation helpful? Give feedback.
-
|
When using the ARM toolchain from the link above, there are issues. Debugging files generated by GCC 12.2 with GDB from GCC 15.2 also works without problems. However, when debugging with GDB from GCC 15.2, errors occur during setting breakpoints or retrieving information because there are two different encodings mixed, which causes parsing failures and prevents finding the corresponding locations. This issue can be reproduced simply by naming the source file with Chinese characters from the GBK character set. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When using the Windows version of riscv-none-elf-gcc to compile a project containing Chinese paths, there are both GBK and UTF-8 Chinese encodings in the debug information of the ELF file, causing errors during GDB debugging. Could you please advise whether this is related to the compilation configuration?
Beta Was this translation helpful? Give feedback.
All reactions