Avoid some compiler warnings in gdb.ada
authorTom Tromey <tromey@adacore.com>
Thu, 27 Apr 2023 16:26:43 +0000 (10:26 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 27 Apr 2023 16:31:32 +0000 (10:31 -0600)
commite29ff7211b608b7aa998a834e55160324fa3744a
tree4c5dc963627151781372d6f58142854117d1d414
parent670c91c0c5eb3fb16d42fe5b2d48a33c64e3ec52
Avoid some compiler warnings in gdb.ada

Running gdb.ada/verylong.exp shows a warning from the Ada compiler:

prog.adb:16:11: warning: file name does not match unit name, should be "main.adb" [enabled by default]

This patch fixes the problem, and another similar one in
unchecked_union.exp.
gdb/testsuite/gdb.ada/unchecked_union/unchecked_union.adb
gdb/testsuite/gdb.ada/verylong/prog.adb