Thank you in advance for your help.
I have been trying to solve this problem non-stop for several days now. I am trying to set up remote debugging for a BeagleBone Blck from Eclpise 3.8.1 on Ubuntu 13.04. I have set up Eclipse to use arm-linux-gnueabihf-gcc etc., and can compile and run helloworld on the BBB.
I have set up Eclipse Debug Profile to use gdb-multiarch. My .gdbinit file contains
set sysroot /
set architecture arm
When I run Debug from Eclipse, it goes to 100% then gives me this message
‘Debug Source Display’ has encountered a problem. An internal error has occurred.
An internal error has occurred.
Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@5cdbf552 rejected from org.eclipse.cdt.dsf.concurrent.DefaultDsfExecutor@4d2aa175[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 956]
The Debug Window shows
[] hello Debug[c/c++ Remote Application]
[v] /home/ubuntu/hello [2012] [cores:0]
[v] Thread[1] 1969[core:0} (Suspended:Signal:SIGSEGV:Segmentation fault)
== 0x7e76
== 0xb6feb0ac
== 0xb6feb0ac
[>] Remote Shell
{Console output}
gdbserver :2345 /home/ubuntu/hello;exit
ubuntu@arm:~$
echo $PWD’>’
/home/ubuntu>
ubuntu@arm:~$ gdbserver :2345 /home/ubuntu/hello;exit
Process /home/ubuntu/hello created; pid = 1969
Listening on port 2345
Remote debugging from host 192.168.0.14
[>] gdb
{Console output}
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
If I then execute ./hello on the BBB through the terminal window I get the expected !!! Hello World !!! result. If I ls -al I see that, indeed, this is the most recently downloaded program. So if I debug at 11PM, the file shows 11PM as the date of the file.
I have tried reinstalling all my tools, verified everything is the most recent version, etc… I am going crazy because this has to be a simple fix.
I suspect the problem is associated with
warning: Unable to find dynamic linker breakpoint function.
However I do not know for sure. Web searches give me general suggestions as to what I should add to the .gdbinit file, but I do not understand what these suggestions mean in my case.
Please help me.
Thank you