OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [ada/] [s-except.ads] - Blame information for rev 839

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 706 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT COMPILER COMPONENTS                         --
4
--                                                                          --
5
--                    S Y S T E M . E X C E P T I O N S                     --
6
--                                                                          --
7
--                                 S p e c                                  --
8
--                                                                          --
9
--          Copyright (C) 2006-2011, 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 3,  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.                                     --
17
--                                                                          --
18
-- As a special exception under Section 7 of GPL version 3, you are granted --
19
-- additional permissions described in the GCC Runtime Library Exception,   --
20
-- version 3.1, as published by the Free Software Foundation.               --
21
--                                                                          --
22
-- You should have received a copy of the GNU General Public License and    --
23
-- a copy of the GCC Runtime Library Exception along with this program;     --
24
-- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
25
-- <http://www.gnu.org/licenses/>.                                          --
26
--                                                                          --
27
-- GNAT was originally developed  by the GNAT team at  New York University. --
28
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
29
--                                                                          --
30
------------------------------------------------------------------------------
31
 
32
pragma Compiler_Unit;
33
 
34
package System.Exceptions is
35
 
36
   pragma Preelaborate_05;
37
   --  To let Ada.Exceptions "with" us and let us "with" Standard_Library
38
 
39
   ZCX_By_Default : constant Boolean;
40
   --  Visible copy to allow Ada.Exceptions to know the exception model.
41
 
42
private
43
   type Require_Body;
44
   --  Dummy Taft-amendment type to make it legal (and required) to provide
45
   --  a body for this package.
46
   --
47
   --  We do this because this unit used to have a body in earlier versions
48
   --  of GNAT, and it causes various bootstrap path problems etc if we remove
49
   --  a body, since we may pick up old unwanted bodies.
50
   --
51
   --  Note: we use this standard Ada method of requiring a body rather
52
   --  than the cleaner pragma No_Body because System.Exceptions is a compiler
53
   --  unit, and older bootstrap compilers do not support pragma No_Body. This
54
   --  type can be removed, and s-except.adb can be replaced by a source
55
   --  containing just that pragma, when we decide to move to a 2008 compiler
56
   --  as the minimal bootstrap compiler version. ???
57
 
58
   ZCX_By_Default : constant Boolean := System.ZCX_By_Default;
59
 
60
   Foreign_Exception : exception;
61
   pragma Unreferenced (Foreign_Exception);
62
   --  This hidden exception is used to represent non-Ada exception to
63
   --  Ada handlers. It is in fact referenced by its linking name.
64
 
65
end System.Exceptions;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.