Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: gdb/testsuite/gdb.ada/iwide/p.adb

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.ada/iwide/classes.ads ('k') | gdb/testsuite/gdb.ada/lang_switch.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.ada/iwide/p.adb
diff --git a/gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb b/gdb/testsuite/gdb.ada/iwide/p.adb
similarity index 68%
copy from gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb
copy to gdb/testsuite/gdb.ada/iwide/p.adb
index e6c4a8ac0502f8e5b26f1ff3981d36fa24ddf3fa..99138c6afad6ed60700a304e045e16e92175323c 100644
--- a/gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb
+++ b/gdb/testsuite/gdb.ada/iwide/p.adb
@@ -1,4 +1,4 @@
--- Copyright 2012 Free Software Foundation, Inc.
+-- Copyright 2012-2013 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
@@ -13,14 +13,13 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
-with Pck; use Pck;
+With Classes; use Classes;
procedure P is
- A : Action;
+ SP_Access : Shape_Access := new Circle'(My_Circle);
+ DP_Access : Drawable_Access := new Circle'(My_Circle);
+ SP_Array : Shape_Array := (others => S_Access);
+ DP_Array : Drawable_Array := (others => D_Access);
begin
- A := Get_Action;
- if A = Archive then
- Archive;
- end if;
+ null; -- BREAK
end P;
-
« no previous file with comments | « gdb/testsuite/gdb.ada/iwide/classes.ads ('k') | gdb/testsuite/gdb.ada/lang_switch.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698