OSDN Git Service

2006-10-31 Robert Dewar <dewar@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / symbols.adb
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT COMPILER COMPONENTS                         --
4 --                                                                          --
5 --                              S Y M B O L S                               --
6 --                                                                          --
7 --                                 B o d y                                  --
8 --                                                                          --
9 --          Copyright (C) 2003-2005, Free Software Foundation, Inc.         --
10 --                                                                          --
11 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
12 -- terms of the  GNU General Public License as published  by the Free Soft- --
13 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
14 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
17 -- for  more details.  You should have  received  a copy of the GNU General --
18 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
19 -- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
20 -- Boston, MA 02110-1301, USA.                                              --
21 --                                                                          --
22 -- GNAT was originally developed  by the GNAT team at  New York University. --
23 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
24 --                                                                          --
25 ------------------------------------------------------------------------------
26
27 --  This is the default version of this package, used when the creation
28 --  of symbol files is not supported.
29
30 with Ada.Text_IO; use Ada.Text_IO;
31
32 package body Symbols is
33
34    ----------------
35    -- Initialize --
36    ----------------
37
38    procedure Initialize
39      (Symbol_File   : String;
40       Reference     : String;
41       Symbol_Policy : Policy;
42       Quiet         : Boolean;
43       Version       : String;
44       Success       : out Boolean)
45    is
46       pragma Unreferenced (Symbol_File);
47       pragma Unreferenced (Reference);
48       pragma Unreferenced (Symbol_Policy);
49       pragma Unreferenced (Quiet);
50       pragma Unreferenced (Version);
51    begin
52       Put_Line
53         ("creation of symbol files are not supported on this platform");
54       Success := False;
55    end Initialize;
56
57    ----------------
58    -- Processing --
59    ----------------
60
61    package body Processing is
62
63       -------------
64       -- Process --
65       -------------
66
67       procedure Process
68         (Object_File : String;
69          Success     : out Boolean)
70       is
71          pragma Unreferenced (Object_File);
72       begin
73          Success := False;
74       end Process;
75
76    end Processing;
77
78    --------------
79    -- Finalize --
80    --------------
81
82    procedure Finalize
83      (Quiet   : Boolean;
84       Success : out Boolean)
85    is
86       pragma Unreferenced (Quiet);
87    begin
88       Success := False;
89    end Finalize;
90
91 end Symbols;