From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14779 invoked by alias); 9 Nov 2004 11:33:38 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14746 invoked from network); 9 Nov 2004 11:33:27 -0000 Received: from unknown (HELO smtp004.mail.ukl.yahoo.com) (217.12.11.35) by sourceware.org with SMTP; 9 Nov 2004 11:33:27 -0000 Received: from unknown (HELO Kindrogan) (compxsuk@81.136.112.227 with login) by smtp004.mail.ukl.yahoo.com with SMTP; 9 Nov 2004 11:33:24 -0000 Reply-To: From: "Jon Beniston" To: Subject: PATCH: Update documentation of binary transfers in remote serial protocol Date: Tue, 09 Nov 2004 11:33:00 -0000 Organization: CompXs Message-ID: <000b01c4c64f$eaed9010$0bbda8c0@Kindrogan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00150.txt.bz2 The following patch more completely describes the escaping mechanism for binary transfers. Cheers, Jon 2004-11-09 Jon Beniston * 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