From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25530 invoked by alias); 7 Aug 2006 12:40:30 -0000 Received: (qmail 25521 invoked by uid 22791); 7 Aug 2006 12:40:29 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.172) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Aug 2006 12:40:27 +0000 Received: by ug-out-1314.google.com with SMTP id u2so55468uge for ; Mon, 07 Aug 2006 05:40:25 -0700 (PDT) Received: by 10.67.29.12 with SMTP id g12mr7991208ugj; Mon, 07 Aug 2006 05:40:25 -0700 (PDT) Received: by 10.66.243.12 with HTTP; Mon, 7 Aug 2006 05:40:25 -0700 (PDT) Message-ID: Date: Mon, 07 Aug 2006 12:40:00 -0000 From: teawater To: "=?UTF-8?Q?Shiladitya_?= =?UTF-8?Q?(=E0=A6=B6=E0=A6=BF=E0=A6=B2=E0=A6=BE?= =?UTF-8?Q?=E0=A6=A6=E0=A6=BF=E0=A6=A4=E0=A7=8D=E0=A6=AF)?=" Subject: Re: gdbserver API documentation Cc: gdb@sourceware.org In-Reply-To: <113c79ae0608070323m2b72a47amc664fbf33188aba0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline References: <113c79ae0608070323m2b72a47amc664fbf33188aba0@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00038.txt.bz2 aHR0cDovL3NvdXJjZXMucmVkaGF0LmNvbS9nZGIvb25saW5lZG9jcy9nZGJf MzMuaHRtbAoKT24gOC83LzA2LCBTaGlsYWRpdHlhICjgprbgpr/gprLgpr7g pqbgpr/gpqTgp43gpq8pIDxzaGlsYWRpdHlhLmJpc3dhc0BnbWFpbC5jb20+ IHdyb3RlOgo+IEhpIEFsbCwKPiBJIHdhbnQgdG8gaW1wbGVtZW50IGEgZ2Ri c2VydmVyIGNvbXBsaWFudCBsaWJyYXJ5IGZvciBhIGNlcnRhaW4KPiBJbnN0 cnVjdGlvbiBTZXQgU2ltdWxhdG9yKElTUykuIFRoZSBkZWJ1Z2dlciB0aGF0 IHdpbGwgYmUgdXNlZCB0bwo+IGNvbm5lY3QgdG8gdGhpcyBJU1Mgd2lsbCBu b3QgYmUgR0RCLiBIb3dldmVyLCBpdCB3aWxsIGJlIGNvbXBsaWFudCB0bwo+ IGdkYnNlcnZlciBwcm90b2NvbC4KPiAgSXMgdGhlcmUgYW55IGNvbXByZWhl bnNpdmUgZG9jdW1lbnRhdGlvbiBvbiBhbGwgdGhlIEFQSXMgdGhhdCBtdXN0 IGJlCj4gc3VwcG9ydGVkIGluIG9yZGVyIGZvciBhIGdkYiBjb21wbGluYXQg ZGVidWdnZXIgdG8gY29ubmVjdCB0bwo+IGdkYnNlcnZlcj8KPiAgSSBhbHNv IGhhZCBhbm90aGVyIHF1ZXJ5LiBEb2VzIHRoZSBnZGJzZXJ2ZXIgc3RvY2sg cHJvcHRvY29sIGFsbG93Cj4gdGFyZ2V0IHNwZWNpZmljIGNvbW1hbmQgZXh0 ZW5zaW9uLiBJIG5lZWQgYSBtZWNoYW5pc20gdG8gZXh0ZW5kIHRoZQo+IGNv bW1hbmRzIHRoYXQgZ2RiIHByb3ZpZGVzLiBUaGVzZSBjb21tYW5kcyBhcmUg c3BlY2lmaWMgdG8gdGhlIElTUyBJCj4gYW0gdXNpbmcuCj4gVElBCj4gLS0K PiAtLQo+IFNoaWxhZGl0eWEKPgo= >From gdb-return-25983-listarch-gdb=sources.redhat.com@sourceware.org Mon Aug 07 13:07:15 2006 Return-Path: Delivered-To: listarch-gdb@sources.redhat.com Received: (qmail 4887 invoked by alias); 7 Aug 2006 13:07:13 -0000 Received: (qmail 4673 invoked by uid 22791); 7 Aug 2006 13:07:12 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 07 Aug 2006 13:07:05 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GA4ou-0003oZ-Fv; Mon, 07 Aug 2006 09:07:00 -0400 Date: Mon, 07 Aug 2006 13:07:00 -0000 From: Daniel Jacobowitz To: "Shiladitya (???????????????????????????)" Cc: gdb@sourceware.org Subject: Re: gdbserver API documentation Message-ID: <20060807130659.GA14555@nevyn.them.org> Mail-Followup-To: "Shiladitya (???????????????????????????)" , gdb@sourceware.org References: <113c79ae0608070323m2b72a47amc664fbf33188aba0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <113c79ae0608070323m2b72a47amc664fbf33188aba0@mail.gmail.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Delivered-To: mailing list gdb@sourceware.org X-SW-Source: 2006-08/txt/msg00039.txt.bz2 Content-length: 1026 On Mon, Aug 07, 2006 at 03:53:19PM +0530, Shiladitya (???????????????????????????) wrote: > Hi All, > I want to implement a gdbserver compliant library for a certain > Instruction Set Simulator(ISS). The debugger that will be used to > connect to this ISS will not be GDB. However, it will be compliant to > gdbserver protocol. > Is there any comprehensive documentation on all the APIs that must be > supported in order for a gdb complinat debugger to connect to > gdbserver? As someone already replied, the manual covers the protocol in detail. If you find anything in the manual unclear, please let us know, so that we can improve it. > I also had another query. Does the gdbserver stock proptocol allow > target specific command extension. I need a mechanism to extend the > commands that gdb provides. These commands are specific to the ISS I > am using. It depends how much support you need from GDB. Take a look at the "monitor" command and "qRcmd" packet; these may be enough. -- Daniel Jacobowitz CodeSourcery