diff options
author | Tom Tromey <tromey@adacore.com> | 2020-05-05 06:57:04 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-05-20 07:20:05 -0600 |
commit | 250106a76acffac0067c6618dd784f2260b56ade (patch) | |
tree | f2330572c40a74d0e46f712a17e31daf431c7b0f /opcodes/po | |
parent | 11c0dd51e8675c923fe40f2d1ad09269bfe9978a (diff) | |
download | gdb-250106a76acffac0067c6618dd784f2260b56ade.zip gdb-250106a76acffac0067c6618dd784f2260b56ade.tar.gz gdb-250106a76acffac0067c6618dd784f2260b56ade.tar.bz2 |
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.
Diffstat (limited to 'opcodes/po')
0 files changed, 0 insertions, 0 deletions