Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Ulrich Weigand" <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org, drow@false.org
Subject: Re: [rfc/rfa] [3/4] SPU enhancements: gdbserver support
Date: Sat, 02 Jun 2007 20:33:00 -0000	[thread overview]
Message-ID: <uejku2j20.fsf@gnu.org> (raw)
In-Reply-To: <200706021933.l52JXTJX005551@d12av02.megacenter.de.ibm.com> 	(uweigand@de.ibm.com)

> Date: Sat, 2 Jun 2007 21:33:29 +0200 (CEST)
> From: "Ulrich Weigand" <uweigand@de.ibm.com>
> Cc: eliz@gnu.org, drow@false.org
> 
> Eli, are the doc changes OK?

Yes, but see some comments below.

> +@item qXfer:spu:read:@var{annex}:@var{offset},@var{length}
> +@anchor{qXfer spu read}
> +@cindex spufs
> +@cindex SPU 

You already added a "@cindex SPU" entry in your previous patch.  This
is the second index entry with exactly the same name, which is not a
very good idea: a reader looking at the index will not know which one
to choose.  It is better to use an entry qualified by its context, for
example:

  @cindex SPU, read @code{spufs} files

> +Read contents of an @code{spufs} file on the target system.  The
> +annex specifies which file to read; it must be of the form 
> +@var{id}/@var{name}, where @var{id} specifies an SPU context ID

Since you are talking about a file, you should use the @file markup:

  +@file{@var{id}/@var{name}}, where @var{id} specifies an SPU context ID

> -@item qXfer:@var{object}:write:@var{annex}:@var{offset}:@var{data}@dots{}
> +@item qXfer:@var{object}:write:@var{annex}:@var{offset},@var{length}:@var{data}@dots{}

Won't this change break backward compatibility?

> +Write @var{length} bytes of uninterpreted data into the target's
> +special data area identified by the keyword @var{object}, starting

What do you mean by ``keyword''?  Isn't @var{object} a _name_ of an
object or its symbol?

> +at @var{offset} bytes into the data.  @samp{@var{data}@dots{}} is
                                         ^^^^^^^^^^^^^^^^^^^^^^
Why use @samp here?  Does it do anything useful?

> +the binary-encoded data (@pxref{Binary Data}) to be written.  The
> +content and encoding of @var{annex} is specific to the object; it can
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^
Better say "... is specific to @var{object}".

> +@table @samp
> +@item qXfer:@var{spu}:write:@var{annex}:@var{offset},@var{length}:@var{data}@dots{}
> +@anchor{qXfer spu write}
> +@cindex spufs
> +@cindex SPU

See above about "@cindex SPU".

> +be of the form @var{id}/@var{name}, where @var{id} specifies an SPU context ID
                  ^^^^^^^^^^^^^^^^^^^
Likewise, please use @file.


  reply	other threads:[~2007-06-02 20:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-02 19:33 Ulrich Weigand
2007-06-02 20:33 ` Eli Zaretskii [this message]
2007-06-03 13:28   ` Ulrich Weigand
2007-06-03 16:44     ` Eli Zaretskii
2007-06-04 13:58       ` Ulrich Weigand
2007-06-04 19:19         ` Eli Zaretskii
2007-06-04 20:02           ` Ulrich Weigand
2007-06-04 19:54 ` Daniel Jacobowitz
2007-06-04 20:05   ` Ulrich Weigand
2007-06-04 20:10     ` Daniel Jacobowitz
2007-06-05 18:34       ` Daniel Jacobowitz
2007-06-05 23:02         ` Ulrich Weigand
2007-06-06 17:51           ` Eli Zaretskii
2007-06-12 13:58           ` Daniel Jacobowitz
2007-06-12 14:43             ` Ulrich Weigand

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=uejku2j20.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.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