From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16583 invoked by alias); 11 Oct 2007 13:00:30 -0000 Received: (qmail 16572 invoked by uid 22791); 11 Oct 2007 13:00:26 -0000 X-Spam-Check-By: sourceware.org Received: from ks30928.kimsufi.com (HELO mailhost.tni-software.com) (213.186.41.72) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 Oct 2007 13:00:23 +0000 Received: (qmail 2619 invoked by uid 89); 11 Oct 2007 13:00:21 -0000 Received: from unknown (HELO ?192.168.1.120?) (g.menant@ayrtontechnology.com@212.99.37.34) by ks30928.kimsufi.com with ESMTPA; 11 Oct 2007 13:00:21 -0000 Message-ID: <470E1E65.9020606@geensys.com> Date: Thu, 11 Oct 2007 13:00:00 -0000 From: Guillaume MENANT User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: GDB commands and GDB protocol Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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/msg00060.txt.bz2 Thanks a lot for your answers. Another question : Where does GDB will get information about the standard internal registers of my chip (a SPARC V8 in my case) ? Guillaume Menant Daniel Jacobowitz a écrit : > 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. > >