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.
with System;
with Pck; use Pck;
-procedure Foo is
+procedure Unchecked_Union is
type Key is (Alpha, Beta, Omega);
type Inner(Disc : Key := Omega) is record
begin
Do_Nothing (Value'Address); -- BREAK
-end Foo;
+end Unchecked_Union;
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
-procedure Main is
+procedure Prog is
X : Long_Long_Long_Integer := Long_Long_Long_Integer'Last;
begin
null; -- START
-end Main;
+end Prog;