Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Device Debugging » Device Debugging
Device Debugging [message #470101] Wed, 09 July 2008 08:03 Go to next message
Eclipse User
Originally posted by: vitaly.panor.zoran.com

Hi,

I'm new to Eclipse, and seek some help with debugging embedded software.
As I understood, there is one main project, DSDP, which encapsulates some
other feature-driven projects. The one for device/on chip debugging is DD.

I've downloaded the latest Eclipse version (3.4) with CDT 5.0 and added DD
(1.0) to it.
What I can't understand is how I can debug with it. I know it should use
GDB for debugging, or at least I think so, but how can I make them work
together, download an executable to a target and run it?

Could someone please pour some light on how should I use this project, or
at least point me to some sort of a guide (if there is such)?


Thanks,
Vitaly
Re: Device Debugging [message #470102 is a reply to message #470101] Fri, 11 July 2008 08:30 Go to previous message
Anton Leherbauer is currently offline Anton Leherbauer
Messages: 490
Registered: July 2009
Senior Member
Vitaly Panor wrote:
> Hi,
>
> I'm new to Eclipse, and seek some help with debugging embedded software.
> As I understood, there is one main project, DSDP, which encapsulates
> some other feature-driven projects. The one for device/on chip debugging
> is DD.
>
> I've downloaded the latest Eclipse version (3.4) with CDT 5.0 and added
> DD (1.0) to it.
> What I can't understand is how I can debug with it. I know it should use
> GDB for debugging, or at least I think so, but how can I make them work
> together, download an executable to a target and run it?
>
> Could someone please pour some light on how should I use this project,
> or at least point me to some sort of a guide (if there is such)?
>

Maybe the information at http://wiki.eclipse.org/DSDP/DD/GDB provides a
starting point. It describes the steps for self-hosted development and
debugging a local sample application, but this might be useful as well.

Anyway, the basic steps are:
1. Create a C/C++ project with sources and binaries.
2. Create a launch configuration (under Run > Debug Configurations...)
of the right type, e.g. for remote debugging select "C/C++ Remote
Application (Experimental - DSF)" and enter the required information.
3. Click "Debug" to start the debugger

HTH
--
Anton Leherbauer
Wind River CDT Team, Austria
Re: Device Debugging [message #590387 is a reply to message #470101] Fri, 11 July 2008 08:30 Go to previous message
Anton Leherbauer is currently offline Anton Leherbauer
Messages: 490
Registered: July 2009
Senior Member
Vitaly Panor wrote:
> Hi,
>
> I'm new to Eclipse, and seek some help with debugging embedded software.
> As I understood, there is one main project, DSDP, which encapsulates
> some other feature-driven projects. The one for device/on chip debugging
> is DD.
>
> I've downloaded the latest Eclipse version (3.4) with CDT 5.0 and added
> DD (1.0) to it.
> What I can't understand is how I can debug with it. I know it should use
> GDB for debugging, or at least I think so, but how can I make them work
> together, download an executable to a target and run it?
>
> Could someone please pour some light on how should I use this project,
> or at least point me to some sort of a guide (if there is such)?
>

Maybe the information at http://wiki.eclipse.org/DSDP/DD/GDB provides a
starting point. It describes the steps for self-hosted development and
debugging a local sample application, but this might be useful as well.

Anyway, the basic steps are:
1. Create a C/C++ project with sources and binaries.
2. Create a launch configuration (under Run > Debug Configurations...)
of the right type, e.g. for remote debugging select "C/C++ Remote
Application (Experimental - DSF)" and enter the required information.
3. Click "Debug" to start the debugger

HTH
--
Anton Leherbauer
Wind River CDT Team, Austria
Previous Topic:Device Debugging
Next Topic:Disassembly editor
Goto Forum:
  


Current Time: Wed Jul 30 13:23:17 EDT 2014

Powered by FUDForum. Page generated in 0.01644 seconds