]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ada-lang.h
Remove 'varsize-limit'
authorTom Tromey <tromey@adacore.com>
Mon, 13 Sep 2021 18:53:05 +0000 (12:53 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 5 Oct 2021 18:35:24 +0000 (12:35 -0600)
commitacbf4a58ef324e506cad9cc867a67164d2ca19d4
tree01ef3482d2859a81ca7a94e09c7ff190838fcde9
parent3e44c3049fc23f5ba894b346b7defdfba66b076e
Remove 'varsize-limit'

This makes the Ada-specific "varsize-limit" a synonym for
"max-value-size", and removes the Ada-specific checks of the limit.

I am not certain of the history here, but it seems to me that this
code is fully obsolete now.  And, removing this makes it possible to
index large Ada arrays without triggering an error.  A new test case
is included to demonstrate this.
gdb/NEWS
gdb/ada-lang.c
gdb/ada-lang.h
gdb/ada-valprint.c
gdb/testsuite/gdb.ada/varsize_limit.exp
gdb/testsuite/gdb.ada/varsize_limit/vsizelim.adb
gdb/value.c