I posted this question to the Linux area, but found no response (http://e2e.ti.com/support/embedded/linux/f/354/t/155778.aspx#566644). I guess it is really a CCS question, so I'll repost here.
I am trying to use the GUI debugger in CCS 5.1. I am using the community Linux distributions. I have a relatively simple Linux app running on an LM137 eval board. So far it simply manipulates I2C and GPIO, all from user space. It prints to the serial console. It runs reasonably well when the debugger is not engaged. But when I try to run it under the debugger (using gdbserver :10000), the serial console quickly ends with
Child terminated with signal = 5
Child terminated with signal = 0x5 (SIGTRAP)
GDBserver exiting
The console window on CCS says
[New Thread 936]
Cannot access memory at address 0x0
Quit (expect signal SIGINT when the program is resumed)
This isn't obviously related to any action of my program. It takes the better part of a second to happen, and more or less of my program can run during that time. The console print ends at different places. It's almost as if it happens a fixed number of seconds after startup. I install my own sigint handler and it is not triggered. Searching the community for sigint, I find a post about DSPBIOS installing handlers. But I'm not using DSPBIOS, AFAIK.
Does this sound familiar to anyone? Is anyone having success using the CCS 5.1 GUI with a Linux application? I suspect that some combination of module versions is not compatible, but I'd love to hear someone else say they've seen this, or they run a similar system without problems.
Chuck