Hi John, Thank you for the reply, perhaps I wasn't very clear. GDB Server is installed on the Beaglebone Black and I see the process running, it just fails to connect.
I will post more detail when I get home tonight. I've tried using the default port 2345 and also found a post suggesting 3333, neither worked. On Wednesday, 28 May 2014 08:45:53 UTC+1, john3909 wrote: > > > From: Simon Platten <[email protected] <javascript:>> > Reply-To: <[email protected] <javascript:>> > Date: Tuesday, May 27, 2014 at 11:53 PM > To: <[email protected] <javascript:>> > Subject: [beagleboard] Eclipse C and Remote Debugging > > I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and remote > debug Java applications on the Beaglebone Black, but for some reason I > cannot remote debug C applications. > > I can compile a C application and I can see that it is transferred to the > Beaglebone Black, I can even run it from an SSH terminal on the Beaglebone > Black. But trying to remote debug always fails with a GDB error. > > The console reports that GDB will reconnect, however it never does. > > I've tried following numerous videos on YouTube, however none of them have > resolved this issue. > > In the end I decided to build and compile on the Beaglebone Black > directly, however now I get an error saying GLIBC_2.17 libc.so.6 not > found...sorry if my post isn't very detailed, I'm at work now without > access to all the information. > > Can anyone point me in the right location to resolve either the remote > debugging or the GLIBC_2.17 error? I have already spent a very long time > trying to find answers myself. > > You need GDBServer installed on your BBB. You launch GDBServer on your BBB > with IP of host and specify the port number for the host to connect to. In > Eclipse, I don’t recall the exact command, but it is something like gdb > remote <BBB ipaddr> <BBB port>. There are plenty of example on Google. > > > https://www.google.com/search?q=eclipse+gdbserver+remote+debug&oq=eclipse+gdbserver&aqs=chrome.1.69i57j0l5.16411j0j7&sourceid=chrome&es_sm=119&ie=UTF-8 > > Regards > John > > > > Thank you, > > Kind Regards, > Simon > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
