From: Eli Zaretskii <eliz@gnu.org>
To: Tom Tromey <tromey@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Implement Ada target name symbol
Date: Mon, 03 Jul 2023 17:43:19 +0300 [thread overview]
Message-ID: <83jzvhm4xk.fsf@gnu.org> (raw)
In-Reply-To: <20230703140438.2788555-1-tromey@adacore.com> (message from Tom Tromey via Gdb-patches on Mon, 3 Jul 2023 08:04:38 -0600)
> Cc: Tom Tromey <tromey@adacore.com>
> Date: Mon, 3 Jul 2023 08:04:38 -0600
> From: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>
>
> Ada 2022 adds the "target name symbol", which can be used on the right
> hand side of an assignment to refer to the left hand side. This
> allows for convenient updates. This patch implements this for gdb's
> Ada expression parser.
> ---
> gdb/NEWS | 3 ++
> gdb/ada-exp.h | 60 ++++++++++++++++++++++++++++++
> gdb/ada-exp.y | 41 ++++++++++++++++----
> gdb/ada-lang.c | 1 +
> gdb/testsuite/gdb.ada/assign_1.exp | 15 ++++++++
> 5 files changed, 113 insertions(+), 7 deletions(-)
>
> diff --git a/gdb/NEWS b/gdb/NEWS
> index fd42864c692..4a07a776580 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -78,6 +78,9 @@
> functionality is also available for dprintf when dprintf-style is
> 'gdb'.
>
> +* The Ada 2022 target name symbol ('@') is now supported by the Ada
> + expression parser.
> +
> * New commands
This part is OK, thanks.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
next prev parent reply other threads:[~2023-07-03 14:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-03 14:04 Tom Tromey
2023-07-03 14:43 ` Eli Zaretskii [this message]
2023-07-10 13:19 ` Tom Tromey
2023-07-21 15:36 ` Tom Tromey
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=83jzvhm4xk.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=tromey@adacore.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).