2002-08-25 Andrew Cagney <ac131313@redhat.com>

* gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-''
	for a packet receive.
This commit is contained in:
Andrew Cagney 2002-08-25 19:10:15 +00:00
parent 74e70df6b6
commit d2c6833eda
2 changed files with 22 additions and 17 deletions

View File

@ -1,3 +1,8 @@
2002-08-25 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-''
for a packet receive.
2002-08-25 Andrew Cagney <ac131313@redhat.com> 2002-08-25 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (clean): Move to end of file. * Makefile.in (clean): Move to end of file.

View File

@ -14248,7 +14248,7 @@ protocol---for example, if there is only one serial port to your target
machine, you might want your program to do something special if it machine, you might want your program to do something special if it
recognizes a packet meant for @value{GDBN}. recognizes a packet meant for @value{GDBN}.
In the examples below, @samp{<-} and @samp{->} are used to indicate In the examples below, @samp{->} and @samp{<-} are used to indicate
transmitted and received data respectfully. transmitted and received data respectfully.
@cindex protocol, @value{GDBN} remote serial @cindex protocol, @value{GDBN} remote serial
@ -14290,8 +14290,8 @@ the package was received correctly) or @samp{-} (to request
retransmission): retransmission):
@smallexample @smallexample
<- @code{$}@var{packet-data}@code{#}@var{checksum} -> @code{$}@var{packet-data}@code{#}@var{checksum}
-> @code{+} <- @code{+}
@end smallexample @end smallexample
@noindent @noindent
@ -15082,29 +15082,29 @@ Example sequence of a target being re-started. Notice how the restart
does not get any direct output: does not get any direct output:
@smallexample @smallexample
<- @code{R00} -> @code{R00}
-> @code{+}
@emph{target restarts}
<- @code{?}
-> @code{+}
-> @code{T001:1234123412341234}
<- @code{+} <- @code{+}
@emph{target restarts}
-> @code{?}
<- @code{+}
<- @code{T001:1234123412341234}
-> @code{+}
@end smallexample @end smallexample
Example sequence of a target being stepped by a single instruction: Example sequence of a target being stepped by a single instruction:
@smallexample @smallexample
<- @code{G1445@dots{}} -> @code{G1445@dots{}}
-> @code{+} <- @code{+}
<- @code{s} -> @code{s}
-> @code{+} <- @code{+}
@emph{time passes} @emph{time passes}
-> @code{T001:1234123412341234} <- @code{T001:1234123412341234}
<- @code{+}
<- @code{g}
-> @code{+} -> @code{+}
-> @code{1455@dots{}} -> @code{g}
<- @code{+} <- @code{+}
<- @code{1455@dots{}}
-> @code{+}
@end smallexample @end smallexample
@include gpl.texi @include gpl.texi