This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 3/7] Clarify doc about memory read/write and non-8-bits addressable memory unit sizes
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 13 Jun 2015 09:49:48 +0300
- Subject: Re: [PATCH v2 3/7] Clarify doc about memory read/write and non-8-bits addressable memory unit sizes
- Authentication-results: sourceware.org; auth=none
- References: <1429127258-1033-1-git-send-email-simon dot marchi at ericsson dot com> <1429127258-1033-4-git-send-email-simon dot marchi at ericsson dot com> <83a8y89lj1 dot fsf at gnu dot org> <557B40D5 dot 1050204 at ericsson dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 12 Jun 2015 16:28:05 -0400
> From: Simon Marchi <simon.marchi@ericsson.com>
> CC: <gdb-patches@sourceware.org>
>
> On 15-04-16 10:48 AM, Eli Zaretskii wrote:
> > This patch is fine with me, thanks.
>
> Hi Eli,
>
> I added some bits in the Remote Protocol section following the discussion
> with Pedro, could you review them?
Below.
> +@anchor{addressable memory unit}
> +@cindex addressable memory unit
> +Most targets have an addressable memory unit size of 8 bits. This means
> +that to each memory address are associated 8 bits of data. Some
> +targets, however, have other addressable memory unit sizes.
> +Within @value{GDBN} and this document, the term
> +@dfn{addressable memory unit} (or @dfn{memory unit} for short) is used
> +when explicitely referring to a chunk of data of that size. The word
^^^^^^^^^^^
"explicitly"
> +Read @var{length} addressable memory units starting at address @var{addr}
> +(@pxref{addressable memory unit}). Note that @var{addr} may not be aligned to
> +any particular boundary. ^^
Two spaces between sentences, please.
> +Write @var{length} addressable memory units starting at address @var{addr}
> +(@pxref{addressable memory unit}). The data is given by @var{XX@dots{}}; each
^^
Likewise.
Thanks.