So this has been a problem since 10.2 apparently. I just downloaded 10.5 and it still seems to be an issue.
If I declare a variable like this:
char * p="displayme";
it won't appear as a string in the debugger.
But if I declare it like this:
unsigned char * p="displayme";
It shows up as a string. Is there any fix for this?
thanks
Solved! Go to Solution.
Hi Carl,
that might depend on the signess for character, and the toolchain used.
Below is what I get for GNU ARM gcc with CodeWarrior 10.5:
And I get it correctly under the variables view too:
Erich
Hi Carl,
that might depend on the signess for character, and the toolchain used.
Below is what I get for GNU ARM gcc with CodeWarrior 10.5:
And I get it correctly under the variables view too:
Erich
I'm using for a board based on the Coldfire mcf54452 processor. I'm not sure where to find the toolchain in Codewarrior, Codesourcery probably? Maybe the m68k series aren't getting a lot of love in the recent versions of CW?
The command line tools for Coldfire is under CodeWarrior 10.5 subfolder:
C:\Freescale\CW MCU v10.5\MCU\ColdFire_Tools\Command_Line_Tools
I was kind of hoping this would work itself out in 10.6 but it's still broken. Any news on this?