Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4099529E.8070501@mvista.com> Date: Wed, 05 May 2004 13:46:22 -0700 From: Cal Erickson Reply-To: cerickson AT mvista DOT com Organization: MontaVista Software, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: Joshua Kolden Subject: Re: intel ddd cygwin References: <012601c4321e$586358d0$0200a8c0 AT id5> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit You need to tell ddd what type of inferior debugger you are using. For instance if you were using a cross gdb that was targeted for Xscale then you would do something like: ddd --debugger xscale_le-gdb --gdb hello.exe This way ddd knows what the protocol looks like to communicate to the inferior debugger. The inferior debuggers that ddd knows about are gdb, dbx, xdb, jdb, pydb and perl. There are other options you can use and they are all documented in the ddd manual. Cal Erickson Brian Ford wrote: > Just some WAGs: > > On Tue, 4 May 2004, Joshua Kolden wrote: > > >>When attempting to start debugging on a simple helloWorld program ddd >>seems to hang waiting for a responds from idb (the intel's debugger) >> >> >>>ddd --debugger "idb -gdb" helloWorld.exe >>> >>I get: >> >>"Reading Symbols from helloWorld.exe...done." >> >>...then nothing. If I try any other action in ddd, such as "run" I get: >> >>"Run: waiting until GDB gets ready" >> > > IIRC, ddd uses ttys to talk to the inferior debugger. Try CYGWIN=tty, but > since idd is not a Cygwin application, it may not help any. > > >>Which never does get ready. However, when I run idb by hand it responds >>like gdb. Anyone have any experience with this? >> > > Are you sure that idb's gdb emulation is exact? > > Just a couple guesses... > > -- =========================================================================== 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 =========================================================================== -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/