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

Unified Diff: gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.ads

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 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/set_pckd_arr_elt/pck.adb ('k') | gdb/testsuite/gdb.ada/start.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.ads
diff --git a/gdb/testsuite/gdb.ada/arrayptr/pck.ads b/gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.ads
similarity index 75%
copy from gdb/testsuite/gdb.ada/arrayptr/pck.ads
copy to gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.ads
index e331e60df90b22175dfa9dfa48487b6fcaf53135..6be95e2cbce5037e707aa1eb25bd2b2a375435e6 100644
--- a/gdb/testsuite/gdb.ada/arrayptr/pck.ads
+++ b/gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.ads
@@ -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
@@ -13,10 +13,10 @@
-- 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 System;
-
package Pck is
+ type Small is new Integer range 0 .. 2 ** 6 - 1;
+ type Simple_Array is array (1 .. 4) of Small;
+ pragma Pack (Simple_Array);
- procedure Do_Nothing (A : System.Address);
-
+ procedure Update_Small (S : in out Small);
end Pck;
« no previous file with comments | « gdb/testsuite/gdb.ada/set_pckd_arr_elt/pck.adb ('k') | gdb/testsuite/gdb.ada/start.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698