From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6275 invoked by alias); 11 Oct 2007 12:41:29 -0000 Received: (qmail 6261 invoked by uid 22791); 11 Oct 2007 12:41:27 -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 12:41:22 +0000 Received: (qmail 23328 invoked by uid 89); 11 Oct 2007 12:41:20 -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 12:41:20 -0000 Message-ID: <470E19ED.1090608@geensys.com> Date: Thu, 11 Oct 2007 12:41:00 -0000 From: Guillaume MENANT User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Guillaume MENANT , gdb@sourceware.org Subject: Re: GDB commands and GDB protocol References: <470DDB20.3050804@geensys.com> <20071011121312.GA9944@caradoc.them.org> In-Reply-To: <20071011121312.GA9944@caradoc.them.org> 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/msg00058.txt.bz2 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 ? - 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 ? Guillaume Menant Daniel Jacobowitz a écrit : > On Thu, Oct 11, 2007 at 10:13:20AM +0200, Guillaume MENANT wrote: > >> Hello, I'm replacing a proprietary application (GRMON) by a free GDB wrapper >> (to make the link between GDB protocol and a specific one used by GRMON) >> In order to do this, I'm seeking a document which would explain the GDB >> protocol (TCP link) and all mandatory commands in order to interface my >> application with Eclipse+CDT. >> > > There is documentation of the remote protocol in the manual. If > there's anything unclear about it, please ask here so we can improve > the documentation. > >