]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Remove bound_name static from ada-lang.c
authorTom Tromey <tromey@adacore.com>
Tue, 5 May 2020 12:57:04 +0000 (06:57 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 20 May 2020 13:20:05 +0000 (07:20 -0600)
commit250106a76acffac0067c6618dd784f2260b56ade
treef2330572c40a74d0e46f712a17e31daf431c7b0f
parent11c0dd51e8675c923fe40f2d1ad09269bfe9978a
Remove bound_name static from ada-lang.c

ada-lang.c has a "bound_name" static that is used when finding fields
in a structure in some cases.  This patch removes it in favor of
computing the desired field name at runtime; this avoids an artificial
limit.

I'm checking this in.  Tested on x86-64 Fedora 30, and also on the
internal AdaCore test suite.

gdb/ChangeLog
2020-05-20  Tom Tromey  <tromey@adacore.com>

* ada-lang.c (bound_name, MAX_ADA_DIMENS): Remove.
        (desc_one_bound, desc_index_type): Compute field name.
gdb/ChangeLog
gdb/ada-lang.c