aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch-components.py
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-09-26 08:24:14 -0600
committerTom Tromey <tromey@adacore.com>2022-09-28 10:45:58 -0600
commit98847c1e38b717ceb7d186fe377be53171a9225f (patch)
tree3c95431404a12b25bc8f81f3eb44d1bf50129ca7 /gdb/gdbarch-components.py
parentbe5f79aa3952accc5133875f523875c0fa397761 (diff)
downloadgdb-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