ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using DDD with an arm-elf-gdb


From: Cal Erickson
Subject: Re: Using DDD with an arm-elf-gdb
Date: Fri, 17 Oct 2003 08:10:10 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2

All,
We do this all the time with DDD. We have ddd on the host computer and
use cross built gdb for several different targets connecting through
gdbserver. We did not do anything except build ddd for the host (RedHat,
SuSE Mandrake and Solaris). As long as you specify the inferior debugger
it just works.

Cal Erickson

address@hidden wrote:

Hi,

I want to use DDD with an arm-elf-gdb. Either with a remote embedded eCos target or with a Simulator.
I am running SUSE 8.2 and developing an eCos application.

- do i have to rebuild ddd to suite the ARM architecture?
- Is there a FAQ or HowTo about this issue?
- Can you point me to a manual?


I searched ddd's documentation but i could not find that(i could only find a remote debugging howto, but it was using gdb and not the arm elf version.

Any help woulb be appreciated.


This should work almost "out of the box" (famous last words...)

I'm surprised the manual didn't help you.  Do you have the
full Texinfo/DVI/PDF/PS manual?  It should be out there somewhere.
The next release of DDD which is coming in the next couple of
days, will include the source to it. Currently, only the ps is distributed (if I remember correctly).

DDD works by sending commands to gdb, and parsing the results.
That means if your cross-debugger is running locally and
communicating with your embedded device via a stup, then DDD doesn't care at all that your gdb is a native or a cross
debugger; the commands are still the same.  All you need to do
is to run
    ddd --help,

which tells you (among other things):

    --debugger CMD     Invoke inferior debugger as CMD.

So, to answer your questions:

1. No; ddd doesn't need to know about the target.
2. It's in the manual.
3. The manual should be in the source distribution
   (if it isn't, please let me know, and I'll fix it).

Andrew.

---------------------------------------------
This message was sent using M-Web Airmail - JUST LIKE THAT
Get an SMS sent to your phone when you receive an email and save time and money.
M-Web members only. http://www.mweb.co.za/mobile .




_______________________________________________
Ddd mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/ddd





--
===========================================================================
Cal Erickson                 MontaVista Software Inc.
Linux Consultant             1237 E. Arques Ave.
Phone (408) 328-0304         Sunnyvale CA 94085
Fax   (408) 328-9204         web http://www.mvista.com
===========================================================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]