From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9012 invoked by alias); 15 Nov 2005 09:02:21 -0000 Received: (qmail 8817 invoked by uid 22791); 15 Nov 2005 09:02:12 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.202) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 15 Nov 2005 09:02:12 +0000 Received: by zproxy.gmail.com with SMTP id l1so1670489nzf for ; Tue, 15 Nov 2005 01:02:10 -0800 (PST) Received: by 10.37.12.41 with SMTP id p41mr4111064nzi; Tue, 15 Nov 2005 01:02:10 -0800 (PST) Received: by 10.37.2.35 with HTTP; Tue, 15 Nov 2005 01:02:10 -0800 (PST) Message-ID: <8f2776cb0511150102s42abc0a7xfe9ee344ab0224b3@mail.gmail.com> Date: Tue, 15 Nov 2005 17:27:00 -0000 From: Jim Blandy To: gdb-patches@sources.redhat.com Subject: RFA: GDB manual: clarify lack of restrictions on 'm' packets MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8800_2351417.1132045330053" Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00203.txt.bz2 ------=_Part_8800_2351417.1132045330053 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 270 This comes out of the recent discussion on gdb@: http://sourceware.org/ml/gdb/2005-11/msg00282.html gdb/doc/ChangeLog: 2005-11-15 Jim Blandy * gdb.texinfo (Packets): Clarify lack of restrictions on behavior of stub when processing an 'm' packet. ------=_Part_8800_2351417.1132045330053 Content-Type: text/x-patch; name=jimb.gdb-doc-remote-protocol-m-no-alignment.patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jimb.gdb-doc-remote-protocol-m-no-alignment.patch" Content-length: 1951 gdb/doc/ChangeLog: 2005-11-15 Jim Blandy * gdb.texinfo (Packets): Clarify lack of restrictions on behavior of stub when processing an 'm' packet. Index: gdb/doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.287 diff -c -p -r1.287 gdb.texinfo *** gdb/doc/gdb.texinfo 14 Nov 2005 03:27:22 -0000 1.287 --- gdb/doc/gdb.texinfo 15 Nov 2005 08:59:04 -0000 *************** Reserved for future use. *** 22347,22364 **** @cindex @code{m} packet Read @var{length} bytes of memory starting at address @var{addr}. ! Neither @value{GDBN} nor the stub assume that sized memory transfers are ! assumed using word aligned accesses. FIXME: @emph{A word aligned memory ! transfer mechanism is needed.} Reply: @table @samp @item @var{XX@dots{}} @var{XX@dots{}} is mem contents. Can be fewer bytes than requested if able ! to read only part of the data. Neither @value{GDBN} nor the stub assume ! that sized memory transfers are assumed using word aligned ! accesses. FIXME: @emph{A word aligned memory transfer mechanism is ! needed.} @item E@var{NN} @var{NN} is errno @end table --- 22347,22365 ---- @cindex @code{m} packet Read @var{length} bytes of memory starting at address @var{addr}. ! Note that @var{addr} may not be aligned to any particular boundary. ! ! The stub need not use any particular size or alignment when gathering ! data from memory for the response; even if @var{addr} is word-aligned ! and @var{length} is a multiple of the word size, the stub is free to ! use byte accesses, or not. For this reason, this packet may not be ! suitable for accessing memory-mapped I/O devices. Reply: @table @samp @item @var{XX@dots{}} @var{XX@dots{}} is mem contents. Can be fewer bytes than requested if able ! to read only part of the data. @item E@var{NN} @var{NN} is errno @end table ------=_Part_8800_2351417.1132045330053--