aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-03-05 07:59:55 -0700
committerTom Tromey <tromey@adacore.com>2024-04-02 11:24:27 -0600
commit542ea7fe46deb713268364fa7b1a3333360e1044 (patch)
treedd60ed83af06b59536e6bef47e61f7dfedbdb1cc /gdb/sparc64-linux-nat.c
parentd9d782dd8b6c3665c28f6b610175a0756a7805a4 (diff)
downloadgdb-542ea7fe46deb713268364fa7b1a3333360e1044.zip
gdb-542ea7fe46deb713268364fa7b1a3333360e1044.tar.gz
gdb-542ea7fe46deb713268364fa7b1a3333360e1044.tar.bz2
Implement Ada 2022 iterated assignment
Ada 2022 includes iterated assignment for array initialization. This patch implements a subset of this for gdb. In particular, only arrays with integer index types really work -- currently there's no decent way to get the index type in EVAL_AVOID_SIDE_EFFECTS mode during parsing. Fixing this probably requires the Ada parser to take a somewhat more sophisticated approach to type resolution; and while this would help fix another bug in this area, this patch is already useful without it.
Diffstat (limited to 'gdb/sparc64-linux-nat.c')
0 files changed, 0 insertions, 0 deletions