From: Simon Platten <[email protected]> Reply-To: <[email protected]> Date: Tuesday, May 27, 2014 at 11:53 PM To: <[email protected]> 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+gd bserver&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]. > 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.
