Index: gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb |
diff --git a/gdb/testsuite/gdb.ada/taft_type/p.adb b/gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb |
similarity index 83% |
copy from gdb/testsuite/gdb.ada/taft_type/p.adb |
copy to gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb |
index f33e783d435f6fe5924225a9a741b05f9f635417..e6c4a8ac0502f8e5b26f1ff3981d36fa24ddf3fa 100644 |
--- a/gdb/testsuite/gdb.ada/taft_type/p.adb |
+++ b/gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb |
@@ -1,4 +1,4 @@ |
--- Copyright 2008-2012 Free Software Foundation, Inc. |
+-- Copyright 2012 Free Software Foundation, Inc. |
-- |
-- This program is free software; you can redistribute it and/or modify |
-- it under the terms of the GNU General Public License as published by |
@@ -16,8 +16,11 @@ |
with Pck; use Pck; |
procedure P is |
- W : Wrap; |
+ A : Action; |
begin |
- W := Create; |
-end P; -- START |
+ A := Get_Action; |
+ if A = Archive then |
+ Archive; |
+ end if; |
+end P; |