]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ada-lang.c
Implement Ada target name symbol
authorTom Tromey <tromey@adacore.com>
Fri, 23 Jun 2023 12:38:55 +0000 (06:38 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 21 Jul 2023 15:36:39 +0000 (09:36 -0600)
commitb3a27d2f97aa3e21237036e50b54bbe94d19d048
tree1e184ee007848bee5df2020548662f0584b277e4
parent812e7caf60b11c1b9ed09f7d5eda47c2178005dc
Implement Ada target name symbol

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.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
gdb/NEWS
gdb/ada-exp.h
gdb/ada-exp.y
gdb/ada-lang.c
gdb/testsuite/gdb.ada/assign_1.exp