Eclipse C and Remote Debugging

418 views
Skip to first unread message

Simon Platten

unread,
May 28, 2014, 2:53:24 AM5/28/14
to beagl...@googlegroups.com
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.

Thank you,

Kind Regards,
Simon

John Syn

unread,
May 28, 2014, 3:45:53 AM5/28/14
to beagl...@googlegroups.com

From: Simon Platten <simona...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Tuesday, May 27, 2014 at 11:53 PM
To: <beagl...@googlegroups.com>
Subject: [beagleboard] Eclipse C and Remote Debugging
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. 


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 beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Simon Platten

unread,
May 28, 2014, 3:52:36 AM5/28/14
to beagl...@googlegroups.com
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.

Simon Platten

unread,
May 28, 2014, 3:09:56 PM5/28/14
to beagl...@googlegroups.com
I'm still looking for a solution and getting more and more frustrated by what seems to be a very steep up hill battle.

There are quite a few sites linking to http://www.angstrom-distribution.org/toolchains/

This link is invalid and results in a 404.  The toolchains that I did manage to track down are not all complete, some have a gdb in the archive, others don't.

Can someone point me in the direction of a complete toolchain with instructions on how to install it correctly?

Thank you,
Simon

John Syn

unread,
May 28, 2014, 3:44:45 PM5/28/14
to beagl...@googlegroups.com
From: Simon Platten <simona...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Wednesday, May 28, 2014 at 12:09 PM
To: <beagl...@googlegroups.com>
Subject: Re: [beagleboard] Eclipse C and Remote Debugging

I'm still looking for a solution and getting more and more frustrated by what seems to be a very steep up hill battle.

There are quite a few sites linking to http://www.angstrom-distribution.org/toolchains/
I think you are going to find it harder and harder to get support for Angstrom. It has been over a year since I’ve used Angstrom so I don’t every remember how to get some things working. I would recommend that you make the move to Debian as we are much more able to help with the OS we currently use. 

Regards,
John

Simon Platten

unread,
May 28, 2014, 3:53:20 PM5/28/14
to beagl...@googlegroups.com
What happened to Angstrom?  What do new Beaglebone Blacks ship with?

I've already invested a bunch of time into the Angstrom set-up getting mySQL server configured in MMM mode replicating between two beaglebone blacks with my own floating IP address manager.

William Hermans

unread,
May 28, 2014, 3:54:22 PM5/28/14
to beagl...@googlegroups.com
I remember someone saying that GDB for the BBB ( perhaps the whole ARCH ) Does not work properly. This was last year though.

Which port are you using for the C GDBServer ? From what little you describe it almost sounds like a connection issue, because of too low a port, and a possible myriad of  other things.

Giving us the EXACT error message as given to you on the command line would certainly help *some* But as John said, you may want to consider moving to Debian just because most people are using it now, or will be.

William Hermans

unread,
May 28, 2014, 3:55:54 PM5/28/14
to beagl...@googlegroups.com
New Bealgebone Black ship with Debian starting with REV C. Also Debian users seem to be more active in this group.

Robert Nelson

unread,
May 28, 2014, 3:56:31 PM5/28/14
to Beagle Board
On Wed, May 28, 2014 at 2:53 PM, Simon Platten <simona...@gmail.com> wrote:
> What happened to Angstrom? What do new Beaglebone Blacks ship with?

http://beagleboard.org/blog/2014-01-04-happy-new-year/

http://beagleboard.org/latest-images


> I've already invested a bunch of time into the Angstrom set-up getting mySQL
> server configured in MMM mode replicating between two beaglebone blacks with
> my own floating IP address manager.

Linux is linux, shouldn't be that hard to port that to debian. But no
one is forcing you to switch either.

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

William Hermans

unread,
May 28, 2014, 4:00:43 PM5/28/14
to beagl...@googlegroups.com
Robert, I agree, but default it seemed the tools used in Angstrom are different and create more headache for people like me who have been using Debian for years. Many things like dropbear, instead of openssh-server for instance can be a PitA to get used to. Especially when you already have experience with other tools. Not to mention the fact that the whole Angstrom experience for me personally felt very shoddy.

Needless to say Angstrom lasted about a week on my own BBB until i found your instructions last year. Been running debian ever since.


Simon Platten

unread,
May 28, 2014, 4:02:46 PM5/28/14
to beagl...@googlegroups.com
I'll give Debian a go.  Just find it hard to start over again, feels like so many steps backward in order to do what should have been possible from the start.
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/USEklgWaQkg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




This email is free from viruses and malware because avast! Antivirus protection is active.


Robert Nelson

unread,
May 28, 2014, 4:03:02 PM5/28/14
to Beagle Board
On Wed, May 28, 2014 at 3:00 PM, William Hermans <yyr...@gmail.com> wrote:
> Robert, I agree, but default it seemed the tools used in Angstrom are
> different and create more headache for people like me who have been using
> Debian for years. Many things like dropbear, instead of openssh-server for
> instance can be a PitA to get used to. Especially when you already have
> experience with other tools. Not to mention the fact that the whole Angstrom
> experience for me personally felt very shoddy.

Laughs, i forgot about all the "dropbear" problems. It seemed like it
was everyday with messages, just delete this file on the microSD and
boot.

Robert Nelson

unread,
May 28, 2014, 4:05:27 PM5/28/14
to Beagle Board
On Wed, May 28, 2014 at 3:02 PM, Simon Platten <simona...@gmail.com> wrote:
I'll give Debian a go.  Just find it hard to start over again, feels like so many steps backward in order to do what should have been possible from the start.

Well, one of the goals of the debian images, was to make things as back-ward compatiable with Angstrom as possible.

So although some "tools" have different names, the experience should mirror Angstrom's default install.

I've tried to post the main differences in experience here:


Regards,

Simon Platten

unread,
May 28, 2014, 4:07:09 PM5/28/14
to beagl...@googlegroups.com
Thank you, I'll look into it and give it a go.

Are they're any shortfalls to be aware of, anything that isn't supported?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/USEklgWaQkg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
May 28, 2014, 4:07:28 PM5/28/14
to beagl...@googlegroups.com
Simon, one benefit is that Debian is very well documented. But also you have different versions so you need to pay attention to that.

 Something like google search "Debian wheezy how to x.y.z" works very well for 99% of the questions you'll have.


Simon Platten

unread,
May 28, 2014, 4:12:37 PM5/28/14
to beagl...@googlegroups.com
Thank you, will do.

On 28/05/2014 21:07, William Hermans wrote:
> Debian wheezy how to x.y.z


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

Robert Nelson

unread,
May 28, 2014, 4:12:37 PM5/28/14
to Beagle Board
On Wed, May 28, 2014 at 3:06 PM, Simon Platten <simona...@gmail.com> wrote:
Thank you, I'll look into it and give it a go.

Are they're any shortfalls to be aware of, anything that isn't supported?

Well, right now we support more devices and capes out of the box then the last official Angstrom release, but if you notice something we broke kernel wise just ping us. We tried to test everything, but everyone has unique hardware.

Otherwise the biggest change, it's a "armhf" ("gnueabihf") based system, so your "gnueabi" compiler won't work. (Well i did had the 'armel' library) so "hello world" "gnueabi" applications will run, but nothing more complex then that.

Regards,

Simon Platten

unread,
May 29, 2014, 3:33:52 PM5/29/14
to beagl...@googlegroups.com
Thank you Robert,  I've now reflashed both my Beaglebone Blacks with Debian and have downloaded the linaro toolchain, so far everything has gone really well...about to set-up eclipse on my ubuntu virtualbox and then try remote debugging.

Simon Platten

unread,
May 29, 2014, 4:00:56 PM5/29/14
to beagl...@googlegroups.com
Can you suggest a good site for setting up eclipse with the Linaro toolchain, I've got the toolchain installed on ubuntu 14.04 in:

/home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux

In eclipse, I have created a C Project and in the Properties under C/C++ Build, Settings, I have the Cross Settings, Prefix set to:

arm-linux-gnueabihf-

Path set to:

/home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin

Cross GCC Compiler, Command set to gcc
Cross GCC Linker, Command set to gcc
Cross GCC Assemlber, Command set to as

When I build the project I get:
/bin/sh: arm-linux-gnueabihf-gcc: command not found    HelloWorldBBB             C/C++ Problem

Simon Platten

unread,
May 30, 2014, 1:55:36 PM5/30/14
to beagl...@googlegroups.com
Anyone? Please?

William Hermans

unread,
May 30, 2014, 2:14:26 PM5/30/14
to beagl...@googlegroups.com
Simon, you've been at this since last year. SO why don't you get a book on GCC and start reading ?


Anyone? Please?
--
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 beagleboard...@googlegroups.com.

William Hermans

unread,
May 30, 2014, 2:15:46 PM5/30/14
to beagl...@googlegroups.com
Either that, or ask this question on the eclipse forums. This is a GCC / Eclipse question more than anything else.

Simon Platten

unread,
May 30, 2014, 2:33:54 PM5/30/14
to beagl...@googlegroups.com
I know C and C++ very well...I've been developing in it since the 80's.

What I find difficult is the lack of complete information, is it to much to expect that having bought the hardware for the software and documentation to be complete?

Sorry, I'm so fed up with dead ends...and pissy people with atitudes, that instead of offering help, make wise cracks. 

Eclipse isn't the problem, the set-up of the toolchain is.

Sorry, I guess you can tell, I'm a bit tired and just want to make some progress on the project, instead of battling with the set-up.

Robert Nelson

unread,
May 30, 2014, 2:37:58 PM5/30/14
to Beagle Board
On Fri, May 30, 2014 at 1:33 PM, Simon Platten <simona...@gmail.com> wrote:
> I know C and C++ very well...I've been developing in it since the 80's.
>
> What I find difficult is the lack of complete information, is it to much to
> expect that having bought the hardware for the software and documentation to
> be complete?
>
> Sorry, I'm so fed up with dead ends...and pissy people with atitudes, that
> instead of offering help, make wise cracks.
>
> Eclipse isn't the problem, the set-up of the toolchain is.
>
> Sorry, I guess you can tell, I'm a bit tired and just want to make some
> progress on the project, instead of battling with the set-up.

You can always ssh in and build on the target. That's just the way
i've always done it.

Simon Platten

unread,
May 30, 2014, 2:52:53 PM5/30/14
to beagl...@googlegroups.com
true, is it to much to ask to use an IDE?

I have it all working for Java, would just like to do the same for C.

l...@ansync.com

unread,
May 30, 2014, 3:21:41 PM5/30/14
to beagl...@googlegroups.com
Frankly, when developing for embedded platforms, yes, IDEs are too much to ask for. 90% of embedded programming today is done with command-line tools as it has been for decades. Once in a while someone builds an IDE, but they are invariably so limited in application as to be more or a straightjacket than a real tool.  The amount of work it takes to produce a truly useful IDE makes sense only if you're developing on a commercial platform with millions of credit-card holding users. So if you want to develop for Windows, Android, and such, good IDEs are available. If you're programming a custom board, well, better get used to building your own tools.

Simon Platten

unread,
May 30, 2014, 3:28:29 PM5/30/14
to beagl...@googlegroups.com
I've been writing software for various embedded platforms for a long time, MSP430, Echelon, PIC's.  In the case of MSP430, the development suite was based on Eclipse.  When writing software for PC104 platforms using QNX, the IDE was Momentics, which is eclipse.

The assumption always seems to be that you are talking to someone who hasn't coded much before, I'm 44.  I've been coding professionally since 1985.

I can follow instructions as well as the next person, unfortunatley a lot of the information online is incomplete or the guides are lacking.

l...@ansync.com

unread,
May 30, 2014, 4:51:55 PM5/30/14
to beagl...@googlegroups.com
I have no doubt you are correct, much documentation is atrocious. I'm even more experienced than you (I'm 50, been programming since 1979), but I spend a lot of time on Google hunting down undocumented software features. Like everything else, documentation requires resources to create, and often those resources just aren't there, especially in the free/open source world.

John Syn

unread,
May 30, 2014, 5:02:40 PM5/30/14
to beagl...@googlegroups.com
From: Simon Platten <simona...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Friday, May 30, 2014 at 12:28 PM

To: <beagl...@googlegroups.com>
Subject: Re: [beagleboard] Eclipse C and Remote Debugging

I've been writing software for various embedded platforms for a long time, MSP430, Echelon, PIC's.  In the case of MSP430, the development suite was based on Eclipse.  When writing software for PC104 platforms using QNX, the IDE was Momentics, which is eclipse.

The assumption always seems to be that you are talking to someone who hasn't coded much before, I'm 44.  I've been coding professionally since 1985.

I can follow instructions as well as the next person, unfortunatley a lot of the information online is incomplete or the guides are lacking.
I use Eclipse and Code Composer Studio all the time and they work just fine. I haven’t used GDBServer for a long time so it is difficult to advise you how to get this working. Currently I use Lauterbach JTAG tools for kernel code debugging and these tools are amazing because of their Linux Kernel Awareness. However, previously I used Ronetix PEEDI JTAG tools which make JTAG look like GDBServer. So my suggestion is to look at the support docs on the Ronetix website as they explain how to setup Eclipse to work with GDBServer. If this doesn’t work, then there is possibly some incompatibility between the version of Eclipse and GDBServer. 

Regards,
John




On Friday, 30 May 2014 20:21:41 UTC+1, l...@ansync.com wrote:
Frankly, when developing for embedded platforms, yes, IDEs are too much to ask for. 90% of embedded programming today is done with command-line tools as it has been for decades. Once in a while someone builds an IDE, but they are invariably so limited in application as to be more or a straightjacket than a real tool.  The amount of work it takes to produce a truly useful IDE makes sense only if you're developing on a commercial platform with millions of credit-card holding users. So if you want to develop for Windows, Android, and such, good IDEs are available. If you're programming a custom board, well, better get used to building your own tools.


On Friday, May 30, 2014 11:52:53 AM UTC-7, Simon Platten wrote:
true, is it to much to ask to use an IDE?

I have it all working for Java, would just like to do the same for C.


On Friday, 30 May 2014 19:37:58 UTC+1, RobertCNelson wrote:
On Fri, May 30, 2014 at 1:33 PM, Simon Platten <simona...@gmail.com> wrote:
> I know C and C++ very well...I've been developing in it since the 80's.
>
> What I find difficult is the lack of complete information, is it to much to
> expect that having bought the hardware for the software and documentation to
> be complete?
>
> Sorry, I'm so fed up with dead ends...and pissy people with atitudes, that
> instead of offering help, make wise cracks.
>
> Eclipse isn't the problem, the set-up of the toolchain is.
>
> Sorry, I guess you can tell, I'm a bit tired and just want to make some
> progress on the project, instead of battling with the set-up.

You can always ssh in and build on the target.  That's just the way
i've always done it.

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--

William Hermans

unread,
May 30, 2014, 5:38:21 PM5/30/14
to beagl...@googlegroups.com
Simon, you may think I'm trying to be a smart ass but I'm not. Using Code Composer studio, and various other IDE's for various platforms does not mean you understand how to setup / use a GCC toolchain from the command line. Which is really what you need to know to understand to use these properly.

All I have seen you say so far is that you have java GDB ( not even remotely the same thing ) working, and that you've been programming in C / C++ since the 80's. Personally, I have been programming C / C++ since the early 90's, and never really truely used a GCC toolchain until I cut my teeth on it with the MSP430 launchpad.

My point ? Just because you *may* know gcc, and g++ does not mean you understand the whole GCC toolchain. Again, there are books on the subject . . .

In eclipse, I have created a C Project and in the Properties under C/C++ Build, Settings, I have the Cross Settings, Prefix set to:

arm-linux-gnueabihf-

Path set to:

/home/simon/gcc-linaro-arm-lin
ux-gnueabihf-4.8-2014.03_linux/bin

Cross GCC Compiler, Command set to gcc
Cross GCC Linker, Command set to gcc
Cross GCC Assemlber, Command set to as

When I build the project I get:
/bin/sh: arm-linux-gnueabihf-gcc: command not found    HelloWorldBBB             C/C++ Problem


This is a pathing issue, eclipse does not know where to find the toolchain binaries. I dont use Eclipse personally but perhaps for each binary you need a proper fully qualified path to each binary? More information required.

William Hermans

unread,
May 30, 2014, 5:47:27 PM5/30/14
to beagl...@googlegroups.com

robert.berger

unread,
May 31, 2014, 11:26:38 AM5/31/14
to beagl...@googlegroups.com
Hi Simon,


On Wednesday, May 28, 2014 9:53:24 AM UTC+3, Simon Platten wrote:
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.

Which is?

Can you cross debug with gdbserver/cross-gdb without Eclipse?
 

The console reports that GDB will reconnect, however it never does.

If you want a free and open "out of the box" solution for the BBB you might want to have a look at the Yoctoproject [1] and there at the ADT[2] (not to be confused with the Android stuff).
You should find enough information there to get you started.

Regards,

Robert

[1] https://www.yoctoproject.org/
[2] https://www.yoctoproject.org/tools-resources/projects/application-development-toolkit-adt

Simon Platten

unread,
May 31, 2014, 12:43:40 PM5/31/14
to beagl...@googlegroups.com

Aaron Clarke

unread,
Jun 2, 2014, 6:29:32 AM6/2/14
to beagl...@googlegroups.com
I set up a similar development environment for someone a few months ago.  I just posted a pdf document with the steps on my blog

http://blog.embeddedcoding.com/2014/06/beaglebone-black-remote-debug-with.html

I used a Debian Wheezy host instead of Ubuntu but it might still be helpful to look through the eclipse setup.  I did use Robert Nelson's BBB debian/linaro setup.

Aaron

Robert Dugas

unread,
Jun 2, 2014, 8:19:32 AM6/2/14
to beagl...@googlegroups.com

 

Can this be of any help?

http://www.youtube.com/watch?v=wpg61xG9Egc

It’s an interesting video by Derek Mollow titled

Beaglebone: Java Setup (JRE), Eclipse and Remote System Explorer (RSE)

Simon Platten

unread,
Jun 4, 2014, 2:37:08 PM6/4/14
to beagl...@googlegroups.com, rob...@globalmech.com
I've back tracked quite a bit, uninstalled eclipse and toolchain and started over.  I have the Java remote debugging working, the C remote debugging is still a problem...I'm confused by what is being reported:

Last login: Wed Jun  4 18:32:57 2014 from big-mumma.local
echo $PWD'>'
chmod +x /home/debian/helloWorldC;gdbserver :2345 /home/debian/helloWorldC;exit
root@beaglebone:~# echo $PWD'>'
/root>
root@beaglebone:~# chmod +x /home/debian/helloWorldC;gdbserver :2345 /home/debia n/helloWorldC;exit
Process /home/debian/helloWorldC created; pid = 2678
Listening on port 2345
Remote debugging from host 192.168.1.100
readchar: Got EOF
Remote side has terminated connection.  GDBserver will reopen the connection.
Listening on port 2345

I've no idea where the address 192.168.1.100 is coming from, the remote connection to the beaglebone is configured and working on 192.168.1.161.

Simon Platten

unread,
Jun 4, 2014, 2:39:35 PM6/4/14
to beagl...@googlegroups.com, rob...@globalmech.com
Also, on a SSH console on the Beaglebone Black, I can see that both gdbserver and my test application are running, if I then kill the gdbserver, up pops:

Killed
logout
!!!Hello World!!!

In the eclipse console on ubuntu.

Simon Platten

unread,
Jun 5, 2014, 2:35:03 AM6/5/14
to beagl...@googlegroups.com, rob...@globalmech.com
Having thought about what is happening over night...I still don't understand why Remote debugging from host is 192.168.1.100 ???

I run Ubuntu 14.04 in Virtualbox on my Windows 7 x64 development system.  The I/P addresses for the various components are as follows:

Ubuntu,                  10.1.174.100
Windows 7,            192.168.1.100
Beaglebone Black,  192.168.1.161

Eclipse is running in Ubuntu and I use the Remote tools to connect to the Beaglebone Black from eclipse.  I have succesfully configured eclipse to allow remote debugging of Java applications on the Beaglebone Black and this works very nicely.

C/C++ is the problem, why is it reporting the Windows 7 I/P?

Does this help shed any light on what the problem is?

Thank you,

robert.berger

unread,
Jun 5, 2014, 3:09:06 AM6/5/14
to beagl...@googlegroups.com, rob...@globalmech.com
Hi


On Thursday, June 5, 2014 9:35:03 AM UTC+3, Simon Platten wrote:
Having thought about what is happening over night...I still don't understand why Remote debugging from host is 192.168.1.100 ???

I run Ubuntu 14.04 in Virtualbox on my Windows 7 x64 development system.  The I/P addresses for the various components are as follows:

Ubuntu,                  10.1.174.100      <--- how about a 192.168.1.x subnet?

Windows 7,            192.168.1.100
Beaglebone Black,  192.168.1.161


Did you ever try remote debugging without Eclipse as I already suggested?

Regards,

Robert

Simon Platten

unread,
Jun 5, 2014, 3:33:48 AM6/5/14
to beagl...@googlegroups.com
I must admit I haven't but I will try tonight.

Sent from my iPhone
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/USEklgWaQkg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Jon

unread,
Jun 5, 2014, 5:26:53 AM6/5/14
to beagl...@googlegroups.com, rob...@globalmech.com

Your virtualbox network is likely just using NAT, so to the BBB it will appear that the traffic is coming from the host computer.

Agreeing with what Robert already said, I would start from the command line tools (gdb & gdbserver) and work up.

Regards,
Jon

Simon Platten

unread,
Jun 5, 2014, 4:00:14 PM6/5/14
to beagl...@googlegroups.com, rob...@globalmech.com
Yay, resolved, C/C++ remote debugging in eclipse now working!

Thank you for all the help, in the end I changed the set-up of the virtualbox configuration, setting the network settings to:

"Bridged Adapter".

I also installed:

sudo apt-get install lib32ncurses5

Now it works perfrectly.

Happy chappy!
Reply all
Reply to author
Forward
0 new messages