From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11512 invoked by alias); 11 Oct 2007 12:53:28 -0000 Received: (qmail 11494 invoked by uid 22791); 11 Oct 2007 12:53:27 -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; Thu, 11 Oct 2007 12:53:23 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 4E6DA981F3; Thu, 11 Oct 2007 12:53:22 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 374D9981F2; Thu, 11 Oct 2007 12:53:22 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IfxXU-0003KY-TL; Thu, 11 Oct 2007 08:53:21 -0400 Date: Thu, 11 Oct 2007 12:53:00 -0000 From: Daniel Jacobowitz To: Guillaume MENANT Cc: gdb@sourceware.org Subject: Re: GDB commands and GDB protocol Message-ID: <20071011125320.GA12521@caradoc.them.org> Mail-Followup-To: Guillaume MENANT , gdb@sourceware.org References: <470DDB20.3050804@geensys.com> <20071011121312.GA9944@caradoc.them.org> <470E19ED.1090608@geensys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <470E19ED.1090608@geensys.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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-10/txt/msg00059.txt.bz2 On Thu, Oct 11, 2007 at 02:41:17PM +0200, Guillaume MENANT wrote: > I've found this page : > http://sources.redhat.com/gdb/onlinedocs/gdb_33.html#SEC679 > I still have some questions : > - We just have to handle commands from the page above to manage the GDB > protocol (in TCP) ? The is no specific encapsulation ? The Overview at the top of that page describes the encapsulation. > - How does Eclipse will know internal registers of my chip (registers like sp, > pc, ...) ? Using qXfer and a XML file ? Is it mandatory for a debugger to know > internal registers ? The standard registers, like sp and pc, Eclipse will get the names directly from GDB. It's only if you have extra board-specific or core-specific registers that you need to deal with XML descriptions. -- Daniel Jacobowitz CodeSourcery