This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 3/7] Clarify doc about memory read/write and non-8-bits addressable memory unit sizes


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]