I am currently running the dsplink message app on an OMAPL138 based processor running the Angstrom Linux distribution.
The message app works exactly as desired when invoked from the linux command line.
I wanted to use gdbserver and eclipse to perform arm side debugging and have found a problem which I need some assistance on.
Debugging works fine and I can step through the message application code and set breakpoints inside of Eclipse until I reach the initial call to PROC_attach();
If I set a breakpoint to the statement immediately after the call to PROC_attach() as shown in the snippet below, the processor appears to stop, but Eclipse does not get control and I'm unable to issue any further debugging commands. As I said everything appears to be fine and breakpoints and single stepping work fine up until the point that the call to PROC_attach is made.
.
.
.
if (DSP_SUCCEEDED (status)) {
status = PROC_attach (processorId, NULL) ;
if (DSP_FAILED (status)) { // <---------- breakpoint set here, never returns
MESSAGE_1Print ("PROC_attach () failed. Status = [0x%x]\n",
status) ;
}
Thanks
Rich Bagdazian