| commit | 6a40c6e4374a660eab5cdc2f8a777ccbd7a81951 | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tromey@adacore.com> | Fri Jun 17 07:41:37 2022 -0600 |
| committer | Tom Tromey <tromey@adacore.com> | Mon Jul 18 09:57:04 2022 -0600 |
| tree | 58413fbd5fbe095288fc93c6474a0b84dbe6f757 | |
| parent | 083aca0c8333fc24c6a65a03fca765bc13ee37c0 [diff] |
Remove array typedef assumption for Ada Currently the Ada code assumes that it can distinguish between a multi-dimensional array and an array of arrays by looking for an intervening typedef -- that is, for an array of arrays, there will be a typedef wrapping the innermost array type. A recent compiler change removes this typedef, which causes a gdb failure in the internal AdaCore test suite. This patch handles this case by checking whether the array type in question has a name.