Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@red-bean.com>
To: gdb@sources.redhat.com
Subject: "A word-aligned memory transfer mechanism is needed"
Date: Tue, 15 Nov 2005 02:59:00 -0000	[thread overview]
Message-ID: <8f2776cb0511141858x1e140278vdfe58bc3efee2a6@mail.gmail.com> (raw)

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.


             reply	other threads:[~2005-11-15  2:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-15  2:59 Jim Blandy [this message]
2005-11-15  4:09 ` Eli Zaretskii
2005-11-15  4:34   ` Daniel Jacobowitz
2005-11-15 14:53     ` Paul Koning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8f2776cb0511141858x1e140278vdfe58bc3efee2a6@mail.gmail.com \
    --to=jimb@red-bean.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox