2002-08-23 Andrew Cagney * gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-'' for a packet receive. Index: doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.114 diff -p -r1.114 gdb.texinfo *** doc/gdb.texinfo 19 Aug 2002 22:09:03 -0000 1.114 --- doc/gdb.texinfo 23 Aug 2002 20:06:34 -0000 *************** protocol---for example, if there is only *** 14248,14254 **** machine, you might want your program to do something special if it recognizes a packet meant for @value{GDBN}. ! In the examples below, @samp{<-} and @samp{->} are used to indicate transmitted and received data respectfully. @cindex protocol, @value{GDBN} remote serial --- 14248,14254 ---- machine, you might want your program to do something special if it recognizes a packet meant for @value{GDBN}. ! In the examples below, @samp{->} and @samp{<-} are used to indicate transmitted and received data respectfully. @cindex protocol, @value{GDBN} remote serial *************** the package was received correctly) or @ *** 14290,14297 **** retransmission): @smallexample ! <- @code{$}@var{packet-data}@code{#}@var{checksum} ! -> @code{+} @end smallexample @noindent --- 14290,14297 ---- retransmission): @smallexample ! -> @code{$}@var{packet-data}@code{#}@var{checksum} ! <- @code{+} @end smallexample @noindent *************** Example sequence of a target being re-st *** 15082,15110 **** does not get any direct output: @smallexample ! <- @code{R00} ! -> @code{+} @emph{target restarts} ! <- @code{?} ! -> @code{+} ! -> @code{T001:1234123412341234} <- @code{+} @end smallexample Example sequence of a target being stepped by a single instruction: @smallexample ! <- @code{G1445@dots{}} ! -> @code{+} ! <- @code{s} ! -> @code{+} ! @emph{time passes} ! -> @code{T001:1234123412341234} <- @code{+} ! <- @code{g} -> @code{+} ! -> @code{1455@dots{}} <- @code{+} @end smallexample @include gpl.texi --- 15082,15110 ---- does not get any direct output: @smallexample ! -> @code{R00} ! <- @code{+} @emph{target restarts} ! -> @code{?} <- @code{+} + <- @code{T001:1234123412341234} + -> @code{+} @end smallexample Example sequence of a target being stepped by a single instruction: @smallexample ! -> @code{G1445@dots{}} <- @code{+} ! -> @code{s} ! <- @code{+} ! @emph{time passes} ! <- @code{T001:1234123412341234} -> @code{+} ! -> @code{g} <- @code{+} + <- @code{1455@dots{}} + -> @code{+} @end smallexample @include gpl.texi