Add test case for symbol menu for local enumerators
authorTom Tromey <tromey@adacore.com>
Mon, 25 Jan 2021 14:38:21 +0000 (07:38 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 25 Jan 2021 14:38:21 +0000 (07:38 -0700)
commitacd6125f01dc9ba76423b7062c26ca16562943cf
tree508bad8ab5fcde8390e597e264254f55e345c2d9
parent9e42b97628f96d8c7f59890e368ddf3a0bd8c811
Add test case for symbol menu for local enumerators

Ada will normally present a menu to the user to allow manual
disambiguation of symbols.  The AdaCore internal GDB had a bug that
prevented this from happening.  Although this bug is not in the FSF
GDB, it seemed worthwhile to write a test case to ensure this.

gdb/testsuite/ChangeLog
2021-01-25  Tom Tromey  <tromey@adacore.com>

* gdb.ada/local-enum.exp: New file.
* gdb.ada/local-enum/local.adb: New file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/local-enum.exp [new file with mode: 0644]
gdb/testsuite/gdb.ada/local-enum/local.adb [new file with mode: 0644]