diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-25 19:10:15 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-25 19:10:15 +0000 |
commit | d2c6833eda0aeb1e4a5649f5717ab7c96098b95a (patch) | |
tree | 17ba5d7405d21a77dd0bb3ef9a8278d52ac65e36 | |
parent | 74e70df6b6080022aceca9d0649b091f533dc348 (diff) | |
download | gdb-d2c6833eda0aeb1e4a5649f5717ab7c96098b95a.zip gdb-d2c6833eda0aeb1e4a5649f5717ab7c96098b95a.tar.gz gdb-d2c6833eda0aeb1e4a5649f5717ab7c96098b95a.tar.bz2 |
2002-08-25 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-''
for a packet receive.
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 32 |
2 files changed, 21 insertions, 16 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index de44728..37a5e3a 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,10 @@ 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. (distclean, maintainer-clean, realclean): Ditto. (mostlyclean): Move rule to end of file. Use GDB_TEX_TMPS, diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 84ed89e..c88c17d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 |