2002-08-25 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 25 Aug 2002 19:10:15 +0000 (19:10 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 25 Aug 2002 19:10:15 +0000 (19:10 +0000)
* gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-''
for a packet receive.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index de44728d2bf2960da5fb1670238b9296560d72f2..37a5e3abd3a0e9cc578bbdc4cfe0cd2adaca8409 100644 (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>
 
        * Makefile.in (clean): Move to end of file.
index 84ed89ebc34877a57d6fed405d82e9bdbf77f660..c88c17d8d8072ea09f135b20d39bacc45210a70a 100644 (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
 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.
 
 @cindex protocol, @value{GDBN} remote serial
@@ -14290,8 +14290,8 @@ the package was received correctly) or @samp{-} (to request
 retransmission):
 
 @smallexample
-<- @code{$}@var{packet-data}@code{#}@var{checksum}
--> @code{+}
+-> @code{$}@var{packet-data}@code{#}@var{checksum}
+<- @code{+}
 @end smallexample
 @noindent
 
@@ -15082,29 +15082,29 @@ Example sequence of a target being re-started.  Notice how the restart
 does not get any direct output:
 
 @smallexample
-<- @code{R00}
--> @code{+}
+-> @code{R00}
+<- @code{+}
 @emph{target restarts}
-<- @code{?}
--> @code{+}
--> @code{T001:1234123412341234}
+-> @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{G1445@dots{}}
 <- @code{+}
-<- @code{g}
+-> @code{s}
+<- @code{+}
+@emph{time passes}
+<- @code{T001:1234123412341234}
 -> @code{+}
--> @code{1455@dots{}}
+-> @code{g}
 <- @code{+}
+<- @code{1455@dots{}}
+-> @code{+}
 @end smallexample
 
 @include gpl.texi