diff options
author | Tom Tromey <tromey@adacore.com> | 2024-03-05 07:59:55 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-04-02 11:24:27 -0600 |
commit | 542ea7fe46deb713268364fa7b1a3333360e1044 (patch) | |
tree | dd60ed83af06b59536e6bef47e61f7dfedbdb1cc /gdb/sparc64-linux-nat.c | |
parent | d9d782dd8b6c3665c28f6b610175a0756a7805a4 (diff) | |
download | gdb-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