From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30375 invoked by alias); 19 Dec 2007 15:37:24 -0000 Received: (qmail 30366 invoked by uid 22791); 19 Dec 2007 15:37:23 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Dec 2007 15:37:17 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 361F498150; Wed, 19 Dec 2007 15:37:16 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 193439814F; Wed, 19 Dec 2007 15:37:15 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1J50yw-00088Q-Ug; Wed, 19 Dec 2007 10:37:14 -0500 Date: Wed, 19 Dec 2007 15:37:00 -0000 From: Daniel Jacobowitz To: Guillaume MENANT Cc: gdb@sourceware.org Subject: Re: GDB startup session with Eclipse Message-ID: <20071219153714.GA31218@caradoc.them.org> Mail-Followup-To: Guillaume MENANT , gdb@sourceware.org References: <14416165.post@talk.nabble.com> <20071219135523.GA20046@caradoc.them.org> <14418949.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14418949.post@talk.nabble.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00144.txt.bz2 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