Other Parts Discussed in Thread: CODECOMPOSER
Hi community,
Im working on K2E EVM for a while. Using gmake(cygwin) to compile arm projects with optimize, on windows. Now, Im getting error to load project on CCS. "Encountered a problem loading file: project.out,, DWARF information is corrupted."
This error comes after out file load finished. If i close the error screen and run the code, its run successfuly but cant debug. I read that page: "gcc.gnu.org/gcc-4.8/changes.html". So i updated project makefile with "-gdwarf-2", "-gdwarf-3" but nothing changed.
So I delete the "-g" line in makefile. When i clean build project, compiler.opt has include "-g" too. So i delete "-g" here too and no-clean build project again. After all of that i can load project.out to arm, but cant debug (bcs compiler options has no longer include debugger options). This process takes a lot of time and takes away debug feature.
How can i pass this DWARF error without losing debug feature?
Best Regards,
Srt