by nickoppen » Mon Nov 17, 2014 11:41 am
Hi Andy,
Host debugging is working fine but I'm having trouble with the epiphany debugging.
On the code::blocks side I get:
Building to ensure sources are up-to-date
Selecting target:
CL
Adding source dir: /home/linaro/Work/ndfork/
Adding source dir: /home/linaro/Work/ndfork/
Adding file: /home/linaro/Work/ndfork/bin/Debug/ndfork.elf
Changing directory to: /home/linaro/Work/ndfork/.
Starting debugger: /opt/adapteva/esdk/tools/e-gnu/bin/e-gdb -nx -fullname -quiet -args /home/linaro/Work/ndfork/bin/Debug/ndfork.elf
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Connecting to remote target
Setting breakpoints
Reading symbols from /home/linaro/Work/ndfork/bin/Debug/ndfork.elf...(no debugging symbols found)...done.
Debugger name and version: GNU gdb (Epiphany toolchain (built 20130910)) 7.6
Connected
In ?? () ()
and on the e-server I get:
linaro-nano:~> e-server
Warning: The HDF environment variable <EPIPHANY_HDF> is overwritten by command line option.
Using the HDF file: /opt/adapteva/esdk/bsps/current/platform.xml
Listening for RSP on port 51000
Listening for RSP on port 51001
Listening for RSP on port 51002
Listening for RSP on port 51004
Listening for RSP on port 51006
Listening for RSP on port 51015
Listening for RSP on port 51013
Listening for RSP on port 51008
Listening for RSP on port 51011
Listening for RSP on port 51010
Listening for RSP on port 51014
Listening for RSP on port 51012
Listening for RSP on port 51009
Listening for RSP on port 51007
Listening for RSP on port 51005
Listening for RSP on port 51003
Remote debugging from host 10.1.1.10
[808]: connected to port 51000
That to me looks as if both sides are talking at least on port 51000 which is the only port I've set up in code::blocks. I have a single break point in the kernel and the debugger stops and waits for a but does not show the line with the break point with the green triangle.
I suspect that the problem lies with the line:
Reading symbols from /home/linaro/Work/ndfork/bin/Debug/ndfork.elf...(no debugging symbols found)...done.
What do you think?
nick
Sharing is what makes the internet Great!