SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By PhatBob
#126511
I have set up Yagarto and am compiling files all fine and well.
To flash the binaries to the board I've setup a program script in my Makefile and the flashes nicely.
After various issues with the Zylin plug-in (I was following the Jim Lynch - rev C guide) I removed it and installed the CDT and set it up as directed here: http://www.yagarto.de/howto/yagarto2/index.html
I'm using an Olimex ARM-USB-TINY, so I have modified the setup to use localhost:3333

I now have an interesting problem... I start OpenOCD in daemon mode and then when I kick off the debugging process Eclipse goes into the debug view.
So far so good.
I am greeted by a panel in the code view with the message: No source for "". And the debugger passes the breakpoint I've set.

But if I click the pause button, the IDE opens up main.c and highlights the line currently being executed, I can step through the code and inspect the variables.
So the symbol files must be available to what ever magic is controlling Eclipse.

Is my problem likely to be:
a) The way I've setup the the OpenOCD daemon (does anyone have a working 0.4.0 daemon config?)
b) The way I configure the session when debug opens
c) The GDB configuration (I'm pointing 'file' to the .elf binary)

Can anyone point me in the right direction to getting this setup to work?

Thanks in Advance

Rob
By Hardwareguy
#134715
Sounds like what you described is all working as expected.
Is the issue you are having, the "No source for" ?
How does it display then the, step through code?