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

Unified Diff: gdb/testsuite/gdb.ada/O2_float_param/caller.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/O2_float_param/callee.ads ('k') | gdb/testsuite/gdb.ada/O2_float_param/caller.ads » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.ada/O2_float_param/caller.adb
diff --git a/gdb/testsuite/gdb.ada/call_pn/pck.adb b/gdb/testsuite/gdb.ada/O2_float_param/caller.adb
similarity index 69%
copy from gdb/testsuite/gdb.ada/call_pn/pck.adb
copy to gdb/testsuite/gdb.ada/O2_float_param/caller.adb
index fbea4cf7067c9dc1990efff327ae3078b48643c6..36666c2c29a8840c4e8f095fe23d5e6fbe59e5d7 100644
--- a/gdb/testsuite/gdb.ada/call_pn/pck.adb
+++ b/gdb/testsuite/gdb.ada/O2_float_param/caller.adb
@@ -1,4 +1,4 @@
--- Copyright 2010-2012 Free Software Foundation, Inc.
+-- Copyright 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,13 +13,14 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
-package body Pck is
- Last_Node_Id : Node_Id := Node_Id'First;
+with IO; use IO;
+with Callee; use Callee;
- function Pn (N : Node_Id) return Node_Id is
+package body Caller is
+ procedure Verbose_Increment (Val : in out Float; Msg : String) is
begin
- Last_Node_Id := N;
- return N;
- end Pn;
-end Pck;
+ Put_Line ("DEBUG: " & Msg);
+ Increment (Val, "Verbose_Increment");
+ end Verbose_Increment;
+end Caller;
« no previous file with comments | « gdb/testsuite/gdb.ada/O2_float_param/callee.ads ('k') | gdb/testsuite/gdb.ada/O2_float_param/caller.ads » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698