| 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;
|
|
|
|
|