2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997
|
|
|
3 |
|
|
|
4 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
5 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
6 |
acting through the Defence Evaluation and Research Agency
|
|
|
7 |
(DERA). It is made available to Recipients with a
|
|
|
8 |
royalty-free licence for its use, reproduction, transfer
|
|
|
9 |
to other parties and amendment for any purpose not excluding
|
|
|
10 |
product development provided that any such use et cetera
|
|
|
11 |
shall be deemed to be acceptance of the following conditions:-
|
|
|
12 |
|
|
|
13 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
14 |
reproduced upon any copies or amended versions of it;
|
|
|
15 |
|
|
|
16 |
(2) Any amended version of it shall be clearly marked to
|
|
|
17 |
show both the nature of and the organisation responsible
|
|
|
18 |
for the relevant amendment or amendments;
|
|
|
19 |
|
|
|
20 |
(3) Its onward transfer from a recipient to another
|
|
|
21 |
party shall be deemed to be that party's acceptance of
|
|
|
22 |
these conditions;
|
|
|
23 |
|
|
|
24 |
(4) DERA gives no warranty or assurance as to its
|
|
|
25 |
quality or suitability for any purpose and DERA accepts
|
|
|
26 |
no liability whatsoever in relation to any use to which
|
|
|
27 |
it may be put.
|
|
|
28 |
*/
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
/*
|
|
|
34 |
VERSION INFORMATION
|
|
|
35 |
===================
|
|
|
36 |
|
|
|
37 |
--------------------------------------------------------------------------
|
|
|
38 |
$Header: /u/g/release/CVSROOT/Source/src/installers/sparc/solaris/diag_config.h,v 1.1.1.1 1998/01/17 15:55:53 release Exp $
|
|
|
39 |
--------------------------------------------------------------------------
|
|
|
40 |
$Log: diag_config.h,v $
|
|
|
41 |
* Revision 1.1.1.1 1998/01/17 15:55:53 release
|
|
|
42 |
* First version to be checked into rolling release.
|
|
|
43 |
*
|
|
|
44 |
* Revision 1.6 1998/01/09 14:59:58 pwe
|
|
|
45 |
* prep restructure
|
|
|
46 |
*
|
|
|
47 |
* Revision 1.5 1997/10/23 09:33:33 pwe
|
|
|
48 |
* prep extra_diags
|
|
|
49 |
*
|
|
|
50 |
* Revision 1.4 1997/08/23 13:55:10 pwe
|
|
|
51 |
* initial ANDF-DE
|
|
|
52 |
*
|
|
|
53 |
* Revision 1.3 1997/04/17 12:00:21 pwe
|
|
|
54 |
* dwarf2 support
|
|
|
55 |
*
|
|
|
56 |
* Revision 1.2 1997/04/04 15:23:35 pwe
|
|
|
57 |
* tidy re old DWARF interface
|
|
|
58 |
*
|
|
|
59 |
* Revision 1.1 1997/03/24 17:09:57 pwe
|
|
|
60 |
* reorganise solaris/sunos split
|
|
|
61 |
*
|
|
|
62 |
* Revision 1.2 1995/09/13 11:01:26 john
|
|
|
63 |
* Fix to prototypes
|
|
|
64 |
*
|
|
|
65 |
* Revision 1.1.1.1 1995/03/13 10:18:58 john
|
|
|
66 |
* Entered into CVS
|
|
|
67 |
*
|
|
|
68 |
* Revision 1.2 1994/07/04 09:24:54 djch
|
|
|
69 |
* Jun94 tape version
|
|
|
70 |
*
|
|
|
71 |
* Revision 1.1 1994/05/03 14:50:43 djch
|
|
|
72 |
* Initial revision
|
|
|
73 |
*
|
|
|
74 |
* Revision 1.2 93/06/29 14:35:48 14:35:48 ra (Robert Andrews)
|
|
|
75 |
* Minor renaming of diagnostic routines.
|
|
|
76 |
*
|
|
|
77 |
* Revision 1.1 93/06/24 14:59:30 14:59:30 ra (Robert Andrews)
|
|
|
78 |
* Initial revision
|
|
|
79 |
*
|
|
|
80 |
--------------------------------------------------------------------------
|
|
|
81 |
*/
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
#ifndef STAB_CONF_INCLUDED
|
|
|
85 |
#define STAB_CONF_INCLUDED
|
|
|
86 |
|
|
|
87 |
#include "config.h"
|
|
|
88 |
|
|
|
89 |
typedef long OUTPUT_REC ;
|
|
|
90 |
|
|
|
91 |
#ifdef NEWDIAGS
|
|
|
92 |
|
|
|
93 |
extern int dwarf2;
|
|
|
94 |
extern void dw2_proc_start PROTO_S ((exp p, dg_name d));
|
|
|
95 |
extern void dw2_proc_end PROTO_S ((exp p));
|
|
|
96 |
extern void dw2_code_info PROTO_S ((dg_info d, void (*mcode)(void *), void * args));
|
|
|
97 |
extern void dw2_start_basic_block PROTO_S ((void));
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
#define DIAG_VAL_BEGIN(d,g,c,s,e) if (!dwarf2) \
|
|
|
101 |
stab_global (d, e, s, g);
|
|
|
102 |
|
|
|
103 |
#define DIAG_VAL_END(d)
|
|
|
104 |
|
|
|
105 |
#define DIAG_PROC_BEGIN(d,g,c,s,e) if (dwarf2) \
|
|
|
106 |
dw2_proc_start (e, d);\
|
|
|
107 |
else \
|
|
|
108 |
stab_proc (d, e, s, g);
|
|
|
109 |
|
|
|
110 |
#define DIAG_PROC_END(e) if (dwarf2) \
|
|
|
111 |
dw2_proc_end (e);\
|
|
|
112 |
else \
|
|
|
113 |
stab_proc_end ();
|
|
|
114 |
|
|
|
115 |
#define CODE_DIAG_INFO(d,n,x,a) if (dwarf2) \
|
|
|
116 |
dw2_code_info (d, x, a);\
|
|
|
117 |
else \
|
|
|
118 |
code_diag_info (d, x, a);
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
#define START_BB() if (dwarf2) \
|
|
|
122 |
dw2_start_basic_block ();
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
#else
|
|
|
126 |
|
|
|
127 |
#define DIAG_VAL_BEGIN(d,g,c,s,e) stab_global (d, e, s, g);
|
|
|
128 |
|
|
|
129 |
#define DIAG_VAL_END(d) ;
|
|
|
130 |
|
|
|
131 |
#define DIAG_PROC_BEGIN(d,g,c,s,e) stab_proc (d, e, s, g);
|
|
|
132 |
|
|
|
133 |
#define DIAG_PROC_END(e) ;
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
#define INSPECT_FILENAME( x ) stab_collect_files ( x )
|
|
|
137 |
#define NEW_DIAG_GLOBAL( x ) ( x )
|
|
|
138 |
#define OUTPUT_DIAG_TAGS() stab_tagdefs ()
|
|
|
139 |
#define OUTPUT_GLOBALS_TAB() stab_typedefs ()
|
|
|
140 |
|
|
|
141 |
#endif
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
#endif /* STAB_CONF_INCLUDED */
|
|
|
145 |
|