This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: Update documentation of binary transfers in remote serial protocol
- From: "Jon Beniston" <jbeniston at compxs dot com>
- To: <gdb-patches at sources dot redhat dot com>
- Date: Tue, 9 Nov 2004 11:33:16 -0000
- Subject: PATCH: Update documentation of binary transfers in remote serial protocol
- Organization: CompXs
- Reply-to: <jbeniston at compxs dot com>
The following patch more completely describes the escaping mechanism for
binary transfers.
Cheers,
Jon
2004-11-09 Jon Beniston <jon@beniston.com>
* gdb.texinfo (Remote Serial Protocol): Further describe
binary transfer escaping mechanism .
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.222
diff -c -p -r1.222 gdb.texinfo
*** gdb.texinfo 23 Oct 2004 15:05:29 -0000 1.222
--- gdb.texinfo 9 Nov 2004 10:51:31 -0000
*************** Reserved for future use.
*** 20586,20592 ****
@var{addr} is address, @var{length} is number of bytes, @var{XX@dots{}}
is binary data. The characters @code{$}, @code{#}, and @code{0x7d} are
! escaped using @code{0x7d}.
Reply:
@table @samp
--- 20586,20593 ----
@var{addr} is address, @var{length} is number of bytes, @var{XX@dots{}}
is binary data. The characters @code{$}, @code{#}, and @code{0x7d} are
! escaped using @code{0x7d}, and then XORed with @code{0x20}.
! For example, @code{0x7d} would be transmitted as @code{0x7d 0x5d}.
Reply:
@table @samp