From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Snyder To: vishal.suresh@philips.com Cc: gdb-patches@sourceware.cygnus.com Subject: Re: GDB - Remote Serial Protocol Date: Mon, 02 Apr 2001 11:16:00 -0000 Message-id: <3AC8C1F9.A2F5DE1@cygnus.com> References: <0056890025616905000002L952*@MHS> X-SW-Source: 2001-04/msg00020.html vishal.suresh@philips.com wrote: > > Hi GDB Team, > Is there any documentation in the web on the remote serial protocol. I have found some documentation on what kind of messages the gdb sends to the stub but what I need is what does the gdb expect in return for the commands that it sends. i.e. > the format of the message that need to be sent from the stub back to the gdb. Please indicate where I can find this info. I am trying to write a gdbstub in 'C'. The gdb manual is on the web. The section you want starts here: http://sources.redhat.com/gdb/onlinedocs/gdb_15.html#SEC129 Also, you might benefit from looking at the code (gdb/remote.c), and from looking at an example 'stub' such as gdb/gdbserver or any of: gdb/*stub.c Good luck, Michael