----- Original Message ----- From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 2004 6:36 PM
Subject: Re: Strange behavior in PODS debugging



At 01:05 PM 11/23/2004, you wrote:
Hi Dave,

The problem persists.

I used the -O0 to turn-off optimizations.

I tried I little code to check if the problem is the debugger:

foo:x = 13; / =0x000d but the debugger display 0x0d00
if (x = = 13){
//this is ok! the code is working fine, the problem is the Debugger's variable pannel that is getting the value in a strange way from the memory.
}


Any other suggestion?

Would you please state if you're developing a Palm OS Protein API application, which uses the GCC x86 compiler and gdb for debugging, or a Palm OS 68K API application, which uses the GCC 68K compiler and the Palm OS Debugger?

I am using Palm OS 68K, but I changed at make file the $CC from m68k-palmos-gcc to m68k-palmos-g++ so I could compile my C++ application as m68k-palmos-gcc was no reconizing the keyword "class" (c, but not c++ compilation?).


About the debugger I am using the integrated PODS debugger. I think that it is not the Palm OS Debugger nether the GDB as no GDB options appear in debug window.

regards

erico


-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/





-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to