summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2005-11-15 19:58:30 +0000
committerJim Blandy <jimb@codesourcery.com>2005-11-15 19:58:30 +0000
commit0312625ce8d435f600175c15b09da46a624dc839 (patch)
treec6899bcbfd8b4925842924f8d1feb7d7103c20c9
parent6283c85ac9011507154d8cf38731463d84eda80f (diff)
downloadgdb-0312625ce8d435f600175c15b09da46a624dc839.tar.gz
* gdb.texinfo (Packets): Clarify lack of restrictions on behavior
of stub when processing an 'm' packet.
-rw-r--r--gdb/doc/ChangeLog3
-rw-r--r--gdb/doc/gdb.texinfo15
2 files changed, 11 insertions, 7 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 5af5143e47a..fd6d5c1656e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,8 @@
2005-11-15 Jim Blandy <jimb@redhat.com>
+ * gdb.texinfo (Packets): Clarify lack of restrictions on behavior
+ of stub when processing an 'm' packet.
+
* gdb.texinfo (Packets): Mention that packets beginning with
letters are reserved once, at the top, instead of actually listing
them all and saying "reserved".
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 8b2e7c33922..a6b97b9d7a6 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -22325,18 +22325,19 @@ thread?)}.
@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.}
+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. 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.}
+to read only part of the data.
@item E@var{NN}
@var{NN} is errno
@end table