Project

General

Profile

Help with Debugging inside Eclipse

Added by Rich Bagdazian over 14 years ago

I could use some assistance in configuring my Eclipse environment in VirtualBox to properly perform remote debugging to my target MityOmap. I am able to cross-compile and run the application (a simple hello world program) on the target and it works fine stand-alone. I have also succeeded in building a version of gdbugger targeted to the angstrom distribution and also obtained the corresponding gdb which is targeted to the angstrom build and hosted on the i86 linux host. gdbugger is running and indicates it's waiting for a remote connection as expected.

I don't seem to be able to get the configuration right inside of Eclipse to just connect to the remote gdbugger instance running on my target machine and allow debugging to take place across the network. It seems to want to try to run the program to be debugged locally on my VirtualBox machine instead of connecting across the network to my remote app and I'm not sure why.

Thanks!
-Rich


Replies (3)

RE: Help with Debugging inside Eclipse - Added by Michael Williamson over 14 years ago

Hi Rich,

I added a couple of notes to the Debugging_ARM_Apps_with_Eclipse tonight. We have been using gdbserver here (I'm not familiar with gdbugger) with success. I will try to get some screen shots of the eclipse configuration posted sometime tomorrow AM. Maybe this sheds some light...

Thanks.

-Mike

RE: Help with Debugging inside Eclipse - Added by Rich Bagdazian over 14 years ago

HI Mike,
That was a typo, should have been gdbserver. Thanks!
Rich

RE: Help with Debugging inside Eclipse - Added by Rich Bagdazian over 14 years ago

Hi Mike,

It turns out I got the i86 and mityOmap binaries confused during the build process and was trying to run the omap binary from Eclipse which is why it wasn't too happy. I can step through code now in my simple hello world app now that I'm running the i86 binary to communicate with the remote gdbserver.

Have you done any debugging involving dsplink code? I built up one of the sample apps and it runs to completion fine when invoked on the command prompt on the mityOmap target, but it gets hung up when running under control of gdbserver in various places and not sure why.

-Rich

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)