This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GDB - Remote Serial Protocol


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]