From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26327 invoked by alias); 19 Dec 2007 17:01:20 -0000 Received: (qmail 26312 invoked by uid 22791); 19 Dec 2007 17:01:16 -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 17:01:04 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J52I2-0004pU-VE for gdb@sourceware.org; Wed, 19 Dec 2007 09:01:02 -0800 Message-ID: <14420820.post@talk.nabble.com> Date: Wed, 19 Dec 2007 17:01:00 -0000 From: Guillaume MENANT To: gdb@sourceware.org Subject: Re: GDB startup session with Eclipse In-Reply-To: <20071219153714.GA31218@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> 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/msg00148.txt.bz2 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 ? Another question is about characters sent by eclipse like '2d' or '2b'. What are their purpose ? Thanks. Daniel Jacobowitz-2 wrote: > > On Wed, Dec 19, 2007 at 07:30:04AM -0800, Guillaume MENANT wrote: >> For now, I've implemented the qSupported command because I want the flash >> support but qC, qOffsets and ? don't seems mandatory to me. I don't know >> what is the Hc-1 command too. > > I think ? is mandatory, at least, I have no idea what will happen when > you connect GDB if you don't support it. GDB tries to figure out > the state of the target when it connects. > > qOffsets and qC are not needed unless you want to support the things > they describe: > > `qOffsets' > Get section offsets that the target used when relocating the > downloaded image. > > and > > `qC' > Return the current thread id. > > So if you are not relocating your target image, and you do not need > thread support, you don't need these. > > There is currently no how-to chapter in the protocol documentation. > That would be a nice addition. > > -- > Daniel Jacobowitz > CodeSourcery > > -- View this message in context: http://www.nabble.com/GDB-startup-session-with-Eclipse-tp14416165p14420820.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.