public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Tom Tromey <tromey@adacore.com>,  gdb-patches@sourceware.org
Subject: Re: [PATCH] Document array indexing for Python gdb.Value
Date: Fri, 21 Jul 2023 09:47:05 -0600	[thread overview]
Message-ID: <87fs5hl11i.fsf@tromey.com> (raw)
In-Reply-To: <83v8eh5gpk.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Jul 2023 19:26:15 +0300")

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

>> +If a @code{gdb.Value} has array or pointer type, an integer can be
>> +used to access elements.
>> +
>> +@smallexample
>> +result = some_array[23]
>> +@end smallexample


Eli> "An integer" or "an index"?

How about "an integer index"?

Tom

  reply	other threads:[~2023-07-21 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-18 14:39 Tom Tromey
2023-07-18 16:26 ` Eli Zaretskii
2023-07-21 15:47   ` Tom Tromey [this message]
2023-07-21 15:53     ` Eli Zaretskii

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=87fs5hl11i.fsf@tromey.com \
    --to=tromey@adacore.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /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).