public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Christina Schimpe <christina.schimpe@intel.com>
Cc: gdb-patches@sourceware.org, pedro@palves.net,
	aburgess@redhat.com, tom@tromey.com
Subject: Re: [PATCH v3 2/3] gdb: Add per-remote target variables for memory read and write config
Date: Fri, 09 Sep 2022 18:57:14 +0300	[thread overview]
Message-ID: <8335d0czhh.fsf@gnu.org> (raw)
In-Reply-To: <20220909153709.3687178-3-christina.schimpe@intel.com> (message from Christina Schimpe on Fri, 9 Sep 2022 17:37:08 +0200)

> From: Christina Schimpe <christina.schimpe@intel.com>
> Cc: pedro@palves.net,
> 	aburgess@redhat.com,
> 	eliz@gnu.org,
> 	tom@tromey.com,
> 	Christina Schimpe <christina.schimpe@intel.com>
> Date: Fri,  9 Sep 2022 17:37:08 +0200
> 
> diff --git a/gdb/NEWS b/gdb/NEWS
> index d1ed7f015f9..9b22a626868 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -11,8 +11,15 @@
>    configure a target's feature packet and to display its configuration,
>    respectively.
>  
> -  The configuration of the packet itself applies to the currently selected
> -  target (if available).  If no target is selected, it applies to future remote
> +  The individual packet sizes can be configured and shown using the commands
> +    ** 'set remote memory-read-packet-size (number of bytes|fixed|limit)'
> +    ** 'set remote memory-write-packet-size (number of bytes|fixed|limit)'
> +    ** 'show remote memory-read-packet-size'
> +    ** 'show remote memory-write-packet-size'.
> +
> +  The configuration of the packet itself, as well as the size of a memory-read
> +  or memory-write packet applies to the currently selected target (if
> +  available).  If no target is selected, it applies to future remote
>    connections.  Similarly, the show commands print the configuration of the
>    currently selected target.  If no remote target is selected, the default
>    configuration for future connections is shown.

This part is OK.

> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -23959,6 +23959,20 @@ future connections is shown.  The available settings are:
>  
>  @end multitable
>  
> +@cindex configuration of the remote packet size

A better index entry would start with "remote packet size", because
users are more likely to have that in mind than the general-purpose
word like "configuration".

For even better results, add one more index entry sat=ying

  @cindex packet size, remote, configuring

> +The number of bytes per memory-read or memory-write packet for a remote target
> +can be configured using the commands @code{set remote memory-read-packet-size}
> +and @code{set remote memory-write-packet-size}.  If set to @samp{0} (zero) the

The commands should be in @w{..}, to make sure they aren't split
between two lines, which makes them harder to read.

Thanks.

  reply	other threads:[~2022-09-09 15:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09 15:37 [PATCH v3 0/3] Apply fixme notes for multi-target support Christina Schimpe
2022-09-09 15:37 ` [PATCH v3 1/3] gdb: Make global feature array a per-remote target array Christina Schimpe
2022-10-04 13:48   ` Pedro Alves
2022-10-18 10:26     ` Schimpe, Christina
2022-09-09 15:37 ` [PATCH v3 2/3] gdb: Add per-remote target variables for memory read and write config Christina Schimpe
2022-09-09 15:57   ` Eli Zaretskii [this message]
2022-09-09 15:37 ` [PATCH v3 3/3] gdb: Remove workaround for the vCont packet Christina Schimpe
2022-12-20 20:29   ` Tom Tromey
2022-12-21  7:42     ` Schimpe, Christina
2022-10-04 12:40 ` [PING][PATCH v3 0/3] Apply fixme notes for multi-target support Schimpe, Christina
2022-10-04 12:40   ` Schimpe, Christina

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=8335d0czhh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=aburgess@redhat.com \
    --cc=christina.schimpe@intel.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@palves.net \
    --cc=tom@tromey.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).