[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.dd] Re: Device Debugging

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