Subversion Repositories tendra.SVN

Rev

Rev 5 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 6
Line -... Line 1...
-
 
1
/*
-
 
2
 * Copyright (c) 2002-2005 The TenDRA Project <http://www.tendra.org/>.
-
 
3
 * All rights reserved.
-
 
4
 *
-
 
5
 * Redistribution and use in source and binary forms, with or without
-
 
6
 * modification, are permitted provided that the following conditions are met:
-
 
7
 *
-
 
8
 * 1. Redistributions of source code must retain the above copyright notice,
-
 
9
 *    this list of conditions and the following disclaimer.
-
 
10
 * 2. Redistributions in binary form must reproduce the above copyright notice,
-
 
11
 *    this list of conditions and the following disclaimer in the documentation
-
 
12
 *    and/or other materials provided with the distribution.
-
 
13
 * 3. Neither the name of The TenDRA Project nor the names of its contributors
-
 
14
 *    may be used to endorse or promote products derived from this software
-
 
15
 *    without specific, prior written permission.
-
 
16
 *
-
 
17
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
-
 
18
 * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-
 
19
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-
 
20
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
-
 
21
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-
 
22
 * EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-
 
23
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-
 
24
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-
 
25
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-
 
26
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-
 
27
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
 
28
 *
-
 
29
 * $Id$
-
 
30
 */
1
/*
31
/*
2
    		 Crown Copyright (c) 1997
32
    		 Crown Copyright (c) 1997
3
    
33
 
4
    This TenDRA(r) Computer Program is subject to Copyright
34
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
35
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
36
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
37
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
38
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
39
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
40
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
41
    shall be deemed to be acceptance of the following conditions:-
12
    
42
 
13
        (1) Its Recipients shall ensure that this Notice is
43
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
44
        reproduced upon any copies or amended versions of it;
15
    
45
 
16
        (2) Any amended version of it shall be clearly marked to
46
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
47
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
48
        for the relevant amendment or amendments;
19
    
49
 
20
        (3) Its onward transfer from a recipient to another
50
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
51
        party shall be deemed to be that party's acceptance of
22
        these conditions;
52
        these conditions;
23
    
53
 
24
        (4) DERA gives no warranty or assurance as to its
54
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
55
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
56
        no liability whatsoever in relation to any use to which
27
        it may be put.
57
        it may be put.
28
*/
58
*/
29
 
59
 
30
 
60
 
31
 
61
 
32
 
62
 
33
/*
63
/*
34
			    VERSION INFORMATION
64
			    VERSION INFORMATION
35
			    ===================
65
			    ===================
36
 
66
 
37
--------------------------------------------------------------------------
67
--------------------------------------------------------------------------
Line 41... Line 71...
41
 * Revision 1.1.1.1  1998/01/17  15:55:53  release
71
 * Revision 1.1.1.1  1998/01/17  15:55:53  release
42
 * First version to be checked into rolling release.
72
 * First version to be checked into rolling release.
43
 *
73
 *
44
 * Revision 1.3  1998/01/09  15:00:08  pwe
74
 * Revision 1.3  1998/01/09  15:00:08  pwe
45
 * prep restructure
75
 * prep restructure
46
 *
76
 *
47
 * Revision 1.2  1997/04/04  15:23:38  pwe
77
 * Revision 1.2  1997/04/04  15:23:38  pwe
48
 * tidy re old DWARF interface
78
 * tidy re old DWARF interface
49
 *
79
 *
50
 * Revision 1.1  1997/03/24  17:10:00  pwe
80
 * Revision 1.1  1997/03/24  17:10:00  pwe
51
 * reorganise solaris/sunos split
81
 * reorganise solaris/sunos split
Line 62... Line 92...
62
 * Revision 1.1  1994/05/03  14:50:40  djch
92
 * Revision 1.1  1994/05/03  14:50:40  djch
63
 * Initial revision
93
 * Initial revision
64
 *
94
 *
65
 * Revision 1.3  93/07/05  18:26:02  18:26:02  ra (Robert Andrews)
95
 * Revision 1.3  93/07/05  18:26:02  18:26:02  ra (Robert Andrews)
66
 * Include diag_fns.h for DWARF.
96
 * Include diag_fns.h for DWARF.
67
 * 
97
 *
68
 * Revision 1.2  93/06/29  14:31:11  14:31:11  ra (Robert Andrews)
98
 * Revision 1.2  93/06/29  14:31:11  14:31:11  ra (Robert Andrews)
69
 * Minor renaming of diagnostic routines.
99
 * Minor renaming of diagnostic routines.
70
 * 
100
 *
71
 * Revision 1.1  93/06/24  14:59:20  14:59:20  ra (Robert Andrews)
101
 * Revision 1.1  93/06/24  14:59:20  14:59:20  ra (Robert Andrews)
72
 * Initial revision
102
 * Initial revision
73
 * 
103
 *
74
--------------------------------------------------------------------------
104
--------------------------------------------------------------------------
75
*/
105
*/
76
 
106
 
77
 
107
 
78
#ifndef SPARCDDECS_INCLUDED
108
#ifndef SPARCDDECS_INCLUDED
79
#define SPARCDDECS_INCLUDED
109
#define SPARCDDECS_INCLUDED
80
 
110
 
81
#ifdef NEWDIAGS
111
#ifdef NEWDIAGS
82
 
112
 
83
extern void init_stab PROTO_S ( ( void ) ) ;
113
extern void init_stab(void);
84
extern void init_stab_aux PROTO_S ( ( void ) ) ;
114
extern void init_stab_aux(void);
85
extern void code_diag_info PROTO_S ( ( dg_info, void (*)(void *), void * ) );
115
extern void code_diag_info(dg_info, void(*)(void *), void *);
86
extern void stab_global PROTO_S ( ( dg_name, exp, char *, int ) ) ;
116
extern void stab_global(dg_name, exp, char *, int);
87
extern void stab_proc PROTO_S ( ( dg_name, exp, char *, int ) ) ;
117
extern void stab_proc(dg_name, exp, char *, int);
88
extern void stab_proc_end PROTO_S ( ( void ) ) ;
118
extern void stab_proc_end(void);
89
extern void stab_types PROTO_S ( ( void ) ) ;
119
extern void stab_types(void);
90
 
120
 
91
#else
121
#else
92
 
122
 
93
extern void init_stab PROTO_S ( ( void ) ) ;
123
extern void init_stab(void);
94
extern void init_stab_aux PROTO_S ( ( void ) ) ;
124
extern void init_stab_aux(void);
95
extern void stab_collect_files PROTO_S ( ( filename ) ) ;
125
extern void stab_collect_files(filename);
96
extern void stab_tagdefs PROTO_S ( ( void ) ) ;
126
extern void stab_tagdefs(void);
97
extern void stab_typedefs PROTO_S ( ( void ) ) ;
127
extern void stab_typedefs(void);
98
extern void stab_begin PROTO_S ( ( diag_info *, int, exp ) ) ;
128
extern void stab_begin(diag_info *, int, exp);
99
extern void stab_end PROTO_S ( ( diag_info *, exp ) ) ;
129
extern void stab_end(diag_info *, exp);
100
extern void stab_file PROTO_S ( ( long, bool ) ) ;
130
extern void stab_file(long, bool);
101
extern void stab_global PROTO_S ( ( diag_descriptor *, exp, char *, bool ) ) ;
131
extern void stab_global(diag_descriptor *, exp, char *, bool);
102
extern void stab_local PROTO_S ( ( char *, diag_type, exp, long, long ) ) ;
132
extern void stab_local(char *, diag_type, exp, long, long);
103
extern void stab_proc PROTO_S ( ( diag_descriptor *, exp, char *, bool ) ) ;
133
extern void stab_proc(diag_descriptor *, exp, char *, bool);
104
extern void stab_proc_end PROTO_S ( ( void ) ) ;
134
extern void stab_proc_end(void);
105
extern void stab_types PROTO_S ( ( void ) ) ;
135
extern void stab_types(void);
106
extern void stabd PROTO_S ( ( long, long, int ) ) ;
136
extern void stabd(long, long, int);
107
extern long currentfile ;
137
extern long currentfile;
108
 
138
 
109
#endif
139
#endif
110
 
140
 
111
#endif /* SPARCDDECS_INCLUDED */
141
#endif /* SPARCDDECS_INCLUDED */