public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* "A word-aligned memory transfer mechanism is needed"
@ 2005-11-15  2:59 Jim Blandy
  2005-11-15  4:09 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Blandy @ 2005-11-15  2:59 UTC (permalink / raw)
  To: gdb

The description of the 'm' packet in (gdb)Remote Serial Protocol says:

Neither gdb nor the stub assume that sized memory transfers are
assumed using word aligned accesses. FIXME: A word aligned memory
transfer mechanism is needed.

This mysterious admonition is repeated in the description of the
reply.  The text seems to date back to the original check-in of the
docs.

At first I assumed that this was trying to say that ADDR isn't
necessarily word-aligned.  I think that's worth stating clearly.

But then I realized that it might be trying to say that a read or
write of a word-sized value to a word-aligned memory location may not
be carried out by the stub using a word-sized access; it is free to
use the appropriate number of byte accesses.  In other words, this
packet doesn't provide the kind of control needed to access some
memory-mapped I/O devices.

Do folks agree that this is what that meant to say?  If we're not sure
what it means, we should take it out.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-15 14:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-15  2:59 "A word-aligned memory transfer mechanism is needed" Jim Blandy
2005-11-15  4:09 ` Eli Zaretskii
2005-11-15  4:34   ` Daniel Jacobowitz
2005-11-15 14:53     ` Paul Koning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).