Daily bump.
[official-gcc.git] / gcc / ada / debug.ads
blob1c594a3bb93279fcfd13bb347997c26ddcbd90e0
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- D E B U G --
6 -- --
7 -- S p e c --
8 -- --
9 -- $Revision: 1.1 $
10 -- --
11 -- Copyright (C) 1992-1999 Free Software Foundation, Inc. --
12 -- --
13 -- GNAT is free software; you can redistribute it and/or modify it under --
14 -- terms of the GNU General Public License as published by the Free Soft- --
15 -- ware Foundation; either version 2, or (at your option) any later ver- --
16 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
17 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
18 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
19 -- for more details. You should have received a copy of the GNU General --
20 -- Public License distributed with GNAT; see file COPYING. If not, write --
21 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
22 -- MA 02111-1307, USA. --
23 -- --
24 -- As a special exception, if other files instantiate generics from this --
25 -- unit, or you link this unit with other files to produce an executable, --
26 -- this unit does not by itself cause the resulting executable to be --
27 -- covered by the GNU General Public License. This exception does not --
28 -- however invalidate any other reasons why the executable file might be --
29 -- covered by the GNU Public License. --
30 -- --
31 -- GNAT was originally developed by the GNAT team at New York University. --
32 -- Extensive contributions were provided by Ada Core Technologies Inc. --
33 -- --
34 ------------------------------------------------------------------------------
36 package Debug is
37 pragma Preelaborate (Debug);
39 -- This package contains global flags used to control the inclusion
40 -- of debugging code in various phases of the compiler.
42 -------------------------
43 -- Dynamic Debug Flags --
44 -------------------------
46 -- Thirty six flags that can be used to active various specialized
47 -- debugging output information. The flags are preset to False, which
48 -- corresponds to the given output being suppressed. The individual
49 -- flags can be turned on using the undocumented switch /dxxx where
50 -- xxx is a string of letters for flags to be turned on. Documentation
51 -- on the current usage of these flags is contained in the body of Debug
52 -- rather than the spec, so that we don't have to recompile the world
53 -- when a new debug flag is added
55 Debug_Flag_A : Boolean := False;
56 Debug_Flag_B : Boolean := False;
57 Debug_Flag_C : Boolean := False;
58 Debug_Flag_D : Boolean := False;
59 Debug_Flag_E : Boolean := False;
60 Debug_Flag_F : Boolean := False;
61 Debug_Flag_G : Boolean := False;
62 Debug_Flag_H : Boolean := False;
63 Debug_Flag_I : Boolean := False;
64 Debug_Flag_J : Boolean := False;
65 Debug_Flag_K : Boolean := False;
66 Debug_Flag_L : Boolean := False;
67 Debug_Flag_M : Boolean := False;
68 Debug_Flag_N : Boolean := False;
69 Debug_Flag_O : Boolean := False;
70 Debug_Flag_P : Boolean := False;
71 Debug_Flag_Q : Boolean := False;
72 Debug_Flag_R : Boolean := False;
73 Debug_Flag_S : Boolean := False;
74 Debug_Flag_T : Boolean := False;
75 Debug_Flag_U : Boolean := False;
76 Debug_Flag_V : Boolean := False;
77 Debug_Flag_W : Boolean := False;
78 Debug_Flag_X : Boolean := False;
79 Debug_Flag_Y : Boolean := False;
80 Debug_Flag_Z : Boolean := False;
82 Debug_Flag_AA : Boolean := False;
83 Debug_Flag_BB : Boolean := False;
84 Debug_Flag_CC : Boolean := False;
85 Debug_Flag_DD : Boolean := False;
86 Debug_Flag_EE : Boolean := False;
87 Debug_Flag_FF : Boolean := False;
88 Debug_Flag_GG : Boolean := False;
89 Debug_Flag_HH : Boolean := False;
90 Debug_Flag_II : Boolean := False;
91 Debug_Flag_JJ : Boolean := False;
92 Debug_Flag_KK : Boolean := False;
93 Debug_Flag_LL : Boolean := False;
94 Debug_Flag_MM : Boolean := False;
95 Debug_Flag_NN : Boolean := False;
96 Debug_Flag_OO : Boolean := False;
97 Debug_Flag_PP : Boolean := False;
98 Debug_Flag_QQ : Boolean := False;
99 Debug_Flag_RR : Boolean := False;
100 Debug_Flag_SS : Boolean := False;
101 Debug_Flag_TT : Boolean := False;
102 Debug_Flag_UU : Boolean := False;
103 Debug_Flag_VV : Boolean := False;
104 Debug_Flag_WW : Boolean := False;
105 Debug_Flag_XX : Boolean := False;
106 Debug_Flag_YY : Boolean := False;
107 Debug_Flag_ZZ : Boolean := False;
109 Debug_Flag_1 : Boolean := False;
110 Debug_Flag_2 : Boolean := False;
111 Debug_Flag_3 : Boolean := False;
112 Debug_Flag_4 : Boolean := False;
113 Debug_Flag_5 : Boolean := False;
114 Debug_Flag_6 : Boolean := False;
115 Debug_Flag_7 : Boolean := False;
116 Debug_Flag_8 : Boolean := False;
117 Debug_Flag_9 : Boolean := False;
119 function Get_Debug_Flag_K return Boolean;
120 -- This function is called from C code to get the setting of the K flag
121 -- (it does not work to try to access a constant object directly).
123 procedure Set_Debug_Flag (C : Character; Val : Boolean := True);
124 -- Where C is 0-9, A-Z, or a-z, sets the corresponding debug flag to
125 -- the given value. In the checks off version of debug, the call to
126 -- Set_Debug_Flag is always a null operation.
128 end Debug;