From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30314 invoked by alias); 19 Dec 2007 18:02:50 -0000 Received: (qmail 30236 invoked by uid 22791); 19 Dec 2007 18:02:27 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Dec 2007 18:02:14 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J53FE-00074a-Jd for gdb@sourceware.org; Wed, 19 Dec 2007 10:02:12 -0800 Message-ID: <14422110.post@talk.nabble.com> Date: Wed, 19 Dec 2007 18:02:00 -0000 From: Guillaume MENANT To: gdb@sourceware.org Subject: Re: GDB startup session with Eclipse In-Reply-To: <20071219170714.GA4495@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: guillaume.menant@geensys.com References: <14416165.post@talk.nabble.com> <20071219135523.GA20046@caradoc.them.org> <14418949.post@talk.nabble.com> <20071219153714.GA31218@caradoc.them.org> <14420820.post@talk.nabble.com> <20071219170714.GA4495@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00152.txt.bz2 Thanks. I've seen this part about the '+' and '-' but I haven't realized that it was in both sides :-/ Here is the current conversation between my software (<-) and GDB controlled by Eclipse (->) : -> 'qSupported' <- 'qXfer:memory-map:read+' -> '-' -> '-' -> '-' -> '+' -> '+' -> 'Hc-1' <- '' -> '+' -> 'qC' <- '' -> '+' -> 'qOffsets' <- '' -> '+' -> '?' <- '' -> '+' -> '3' (just after this one an error occurs in Eclipse) I don't support '-' and '+' from GDB for now but I don't understand why it sends me 3 '-' and then 2 '+'. I will test directly with GDB in remote mode in order to see if I have the same issues. Thanks. Daniel Jacobowitz-2 wrote: > > On Wed, Dec 19, 2007 at 09:01:02AM -0800, Guillaume MENANT wrote: >> >> Thanks for your answer. Eclipse sends me the ? command and then it waits >> and >> a message "Target selection failed" pops up and "target not responding >> (timeout)" in the details of the error. >> >> Before that, Eclispe just sends a '03' character. What does Eclipse waits >> ? > > I don't know. To stop the target if it's running? \003 is an > interrupt. Still, it shouldn't be doing this. > > Eclipse does not send anything. Eclipse is running GDB in the > background. Try reproducing problems using GDB from the command line, > and then you can turn on remote protocol debugging to follow the > conversation. > >> Another question is about characters sent by eclipse like '2d' or '2b'. >> What >> are their purpose ? > > Those are + and -. Read the Overview section, where it talks about > acknowledgements. > > > -- > Daniel Jacobowitz > CodeSourcery > > -- View this message in context: http://www.nabble.com/GDB-startup-session-with-Eclipse-tp14416165p14422110.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.