Add another test for Ada Wide_Wide_String
authorTom Tromey <tromey@adacore.com>
Wed, 16 Mar 2022 15:50:17 +0000 (09:50 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 17 Mar 2022 12:46:13 +0000 (06:46 -0600)
commitd32cbc04e31098d69a299f608424a5fcb69aae7a
treebd288e5e582683e22b14a796cbe947d55e905b5c
parentc9178f285acf19e066be8367185d52837161b0a2
Add another test for Ada Wide_Wide_String

In an earlier patch, I had written that I wanted to add this test:

      ptype Wide_Wide_String'("literal")

... but that it failed with the distro GNAT.  Further investigation
showed that it could be made to work by adding a function using
Wide_Wide_String to the program -- this caused the type to end up in
the debug info.

This patch adds the test.  I'm checking this in.
gdb/testsuite/gdb.ada/widewide.exp
gdb/testsuite/gdb.ada/widewide/foo.adb
gdb/testsuite/gdb.ada/widewide/pck.adb
gdb/testsuite/gdb.ada/widewide/pck.ads