2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1996
|
|
|
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 |
VERSION INFORMATION
|
|
|
31 |
===================
|
|
|
32 |
|
|
|
33 |
--------------------------------------------------------------------------
|
|
|
34 |
$Header: /u/g/release/CVSROOT/Source/src/installers/680x0/common/xdb_output.h,v 1.1.1.1 1998/01/17 15:55:50 release Exp $
|
|
|
35 |
--------------------------------------------------------------------------
|
|
|
36 |
$Log: xdb_output.h,v $
|
|
|
37 |
* Revision 1.1.1.1 1998/01/17 15:55:50 release
|
|
|
38 |
* First version to be checked into rolling release.
|
|
|
39 |
*
|
|
|
40 |
Revision 1.1.1.1 1997/10/13 12:43:02 ma
|
|
|
41 |
First version.
|
|
|
42 |
|
|
|
43 |
Revision 1.1.1.1 1997/03/14 07:50:23 ma
|
|
|
44 |
Imported from DRA
|
|
|
45 |
|
|
|
46 |
* Revision 1.1.1.1 1996/09/20 10:57:02 john
|
|
|
47 |
*
|
|
|
48 |
* Revision 1.2 1996/07/05 14:36:22 john
|
|
|
49 |
* Fix to diagnostics
|
|
|
50 |
*
|
|
|
51 |
* Revision 1.1 95/03/08 16:46:29 ra
|
|
|
52 |
* Added missing files.
|
|
|
53 |
*
|
|
|
54 |
* Revision 1.1 93/02/22 17:17:27 17:17:27 ra (Robert Andrews)
|
|
|
55 |
* Initial revision
|
|
|
56 |
*
|
|
|
57 |
--------------------------------------------------------------------------
|
|
|
58 |
*/
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
#ifndef XDB_OUTPUT_INCLUDED
|
|
|
62 |
#define XDB_OUTPUT_INCLUDED
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
/*
|
|
|
66 |
TYPE REPRENTING DIAGNOSTIC DIRECTIVES
|
|
|
67 |
*/
|
|
|
68 |
|
|
|
69 |
typedef struct {
|
|
|
70 |
int instr ;
|
|
|
71 |
long old_size ;
|
|
|
72 |
long new_size ;
|
|
|
73 |
} diag_directive ;
|
|
|
74 |
|
|
|
75 |
extern diag_directive dd [] ;
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
/*
|
|
|
79 |
INDEX TO ARRAY OF DIAGNOSTIC DIRECTIVES
|
|
|
80 |
|
|
|
81 |
These macros correspond to the entries in the table above.
|
|
|
82 |
*/
|
|
|
83 |
|
|
|
84 |
#define xdb_array 0
|
|
|
85 |
#define xdb_begin 1
|
|
|
86 |
#define xdb_const 2
|
|
|
87 |
#define xdb_dvar 3
|
|
|
88 |
#define xdb_end 4
|
|
|
89 |
#define xdb_entry 5
|
|
|
90 |
#define xdb_enum 6
|
|
|
91 |
#define xdb_field 7
|
|
|
92 |
#define xdb_file 8
|
|
|
93 |
#define xdb_fparam 9
|
|
|
94 |
#define xdb_function 10
|
|
|
95 |
#define xdb_functype 11
|
|
|
96 |
#define xdb_import 12
|
|
|
97 |
#define xdb_label 13
|
|
|
98 |
#define xdb_memenum 14
|
|
|
99 |
#define xdb_module 15
|
|
|
100 |
#define xdb_pointer 16
|
|
|
101 |
#define xdb_set 17
|
|
|
102 |
#define xdb_srcfile 18
|
|
|
103 |
#define xdb_struct 19
|
|
|
104 |
#define xdb_subrange 20
|
|
|
105 |
#define xdb_svar 21
|
|
|
106 |
#define xdb_tagdef 22
|
|
|
107 |
#define xdb_typedef 23
|
|
|
108 |
#define xdb_union 24
|
|
|
109 |
#define xdb_variant 25
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
/*
|
|
|
113 |
DIAGNOSTIC FORMS SUPPORTED
|
|
|
114 |
*/
|
|
|
115 |
|
|
|
116 |
#define DIAG_XDB_OLD 0
|
|
|
117 |
#define DIAG_XDB_NEW 1
|
|
|
118 |
#define DIAG_STAB 2
|
|
|
119 |
#define DIAG_UNKNOWN 3
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
extern bool diag_format ;
|
|
|
123 |
extern long crt_diag_proc_lab ;
|
|
|
124 |
|
|
|
125 |
extern void init_diag PROTO_S ( ( void ) ) ;
|
|
|
126 |
extern void copy_diag PROTO_S ( ( void ) ) ;
|
|
|
127 |
extern void slt_exit PROTO_S ( ( void ) ) ;
|
|
|
128 |
extern void dnt_begin PROTO_S ( ( void ) ) ;
|
|
|
129 |
extern int dnt_end PROTO_S ( ( void ) ) ;
|
|
|
130 |
extern void diag_string PROTO_S ( ( FILE *, char * ) ) ;
|
|
|
131 |
extern void diag_source PROTO_S ( ( char *, long, int ) ) ;
|
|
|
132 |
extern void diag_source_file PROTO_S ( ( char *, long ) ) ;
|
|
|
133 |
extern void diag_globl_variable PROTO_S ( ( diag_type, char *, int, char *, int ) ) ;
|
|
|
134 |
extern void diag_local_variable PROTO_S ( ( diag_type, char *, long ) ) ;
|
|
|
135 |
extern void diag_type_defn PROTO_S ( ( char *, diag_type ) ) ;
|
|
|
136 |
extern void diag_proc_main PROTO_S ( ( diag_type, exp, char *, int, char * ) ) ;
|
|
|
137 |
|
|
|
138 |
#endif
|