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
已解决! 转到解答。
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?