diff options
author | Tom Tromey <tromey@adacore.com> | 2022-09-26 08:24:14 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-09-28 10:45:58 -0600 |
commit | 98847c1e38b717ceb7d186fe377be53171a9225f (patch) | |
tree | 3c95431404a12b25bc8f81f3eb44d1bf50129ca7 /gdb/gdbarch-components.py | |
parent | be5f79aa3952accc5133875f523875c0fa397761 (diff) | |
download | gdb-98847c1e38b717ceb7d186fe377be53171a9225f.zip gdb-98847c1e38b717ceb7d186fe377be53171a9225f.tar.gz gdb-98847c1e38b717ceb7d186fe377be53171a9225f.tar.bz2 |
Treat Character as a discrete type in Ada
A user noticed that gdb would assert when printing a certain array
with array-indexes enabled. This turned out to be caused by the array
having an index type of Character, which is completely valid in Ada.
This patch changes the Ada support to recognize Character as a
discrete type, and adds some tests.
Because this is Ada-specific and was also reviewed internally, I am
checking it in.
Diffstat (limited to 'gdb/gdbarch-components.py')
0 files changed, 0 insertions, 0 deletions