Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: GDB - Remote Serial Protocol
@ 2001-04-02  1:48 vishal.suresh
  2001-04-02  5:43 ` Fernando Nasser
  2001-04-02 11:16 ` Michael Snyder
  0 siblings, 2 replies; 3+ messages in thread
From: vishal.suresh @ 2001-04-02  1:48 UTC (permalink / raw)
  To: gdb-patches

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'.

Thanks & Regards,
Vishal


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CTO/DTG/SDE
Philips Semiconductors Design Competence Centre-Bangalore

Mailing Address: Philips Innovation Campus, No 1, Murphy Road
Ulsoor, Bangalore 5600 08
INDIA
Phone: Office: +91 80 557 9000, Ext: 3046
Phone: Resi: +91 80 650 7650


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GDB - Remote Serial Protocol
  2001-04-02  1:48 GDB - Remote Serial Protocol vishal.suresh
@ 2001-04-02  5:43 ` Fernando Nasser
  2001-04-02 11:16 ` Michael Snyder
  1 sibling, 0 replies; 3+ messages in thread
From: Fernando Nasser @ 2001-04-02  5:43 UTC (permalink / raw)
  To: vishal.suresh; +Cc: gdb-patches

Hi Vishal,

If you have the GDB sources, you will find the manual "Debugging with
GDB" in the gdb/doc subdirectory.  It can be generated in a variety of
formats (look in the Makefile.in of that subdirectory).

If your system is a Unix system, the "info" version of the manual should
have been installed when gdb was installed.  Use the "info" command to
browse it.

Regards,
Fernando

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'.
> 
> Thanks & Regards,
> Vishal
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> CTO/DTG/SDE
> Philips Semiconductors Design Competence Centre-Bangalore
> 
> Mailing Address: Philips Innovation Campus, No 1, Murphy Road
> Ulsoor, Bangalore 5600 08
> INDIA
> Phone: Office: +91 80 557 9000, Ext: 3046
> Phone: Resi: +91 80 650 7650

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GDB - Remote Serial Protocol
  2001-04-02  1:48 GDB - Remote Serial Protocol vishal.suresh
  2001-04-02  5:43 ` Fernando Nasser
@ 2001-04-02 11:16 ` Michael Snyder
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Snyder @ 2001-04-02 11:16 UTC (permalink / raw)
  To: vishal.suresh; +Cc: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-02 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-02  1:48 GDB - Remote Serial Protocol vishal.suresh
2001-04-02  5:43 ` Fernando Nasser
2001-04-02 11:16 ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox