0
|
1 /*
|
|
2 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
|
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 *
|
|
5 * This code is free software; you can redistribute it and/or modify it
|
|
6 * under the terms of the GNU General Public License version 2 only, as
|
|
7 * published by the Free Software Foundation.
|
|
8 *
|
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT
|
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
12 * version 2 for more details (a copy is included in the LICENSE file that
|
|
13 * accompanied this code).
|
|
14 *
|
|
15 * You should have received a copy of the GNU General Public License version
|
|
16 * 2 along with this work; if not, write to the Free Software Foundation,
|
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
18 *
|
|
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
20 * CA 95054 USA or visit www.sun.com if you need additional information or
|
|
21 * have any questions.
|
|
22 *
|
|
23 */
|
|
24
|
|
25 package sun.jvm.hotspot.debugger.win32.coff;
|
|
26
|
|
27 /** <P> Enumerates the types of symbols returned by the {@link
|
|
28 sun.jvm.hotspot.debugger.win32.coff.DebugVC50SymbolIterator}. (Some
|
|
29 of the descriptions are taken directly from Microsoft's
|
|
30 documentation and are copyrighted by Microsoft.) </P>
|
|
31
|
|
32 <P> NOTE that these types are specified as integers rather than
|
|
33 short integers; this is to make comparisons and switches simpler
|
|
34 because of Java's automatic sign extension. </P>
|
|
35 */
|
|
36
|
|
37 public interface DebugVC50SymbolTypes {
|
|
38 /** Compile flags symbol */
|
|
39 public static final int S_COMPILE = 0x0001;
|
|
40
|
|
41 /** Start search */
|
|
42 public static final int S_SSEARCH = 0x0005;
|
|
43
|
|
44 /** End block, procedure, with, or thunk */
|
|
45 public static final int S_END = 0x0006;
|
|
46
|
|
47 /** Reserve symbol space */
|
|
48 public static final int S_SKIP = 0x0007;
|
|
49
|
|
50 /** Reserved for CodeView internal use */
|
|
51 public static final int S_CVRESERVE = 0x0008;
|
|
52
|
|
53 /** Specify name of object file */
|
|
54 public static final int S_OBJNAME = 0x0009;
|
|
55
|
|
56 /** Specify end of arguments in function symbols */
|
|
57 public static final int S_ENDARG = 0x000a;
|
|
58
|
|
59 /** Microfocus COBOL user-defined type */
|
|
60 public static final int S_COBOLUDT = 0x000b;
|
|
61
|
|
62 /** Many register symbol */
|
|
63 public static final int S_MANYREG = 0x000c;
|
|
64
|
|
65 /** Function return description */
|
|
66 public static final int S_RETURN = 0x000d;
|
|
67
|
|
68 /** Description of this pointer at entry */
|
|
69 public static final int S_ENTRYTHIS = 0x000e;
|
|
70
|
|
71 /** Register variable */
|
|
72 public static final int S_REGISTER = 0x1001;
|
|
73
|
|
74 /** Constant symbol */
|
|
75 public static final int S_CONSTANT = 0x1002;
|
|
76
|
|
77 /** User-defined type */
|
|
78 public static final int S_UDT = 0x1003;
|
|
79
|
|
80 /** Microfocus COBOL User-defined type (#2) */
|
|
81 public static final int S_COBOLUDT2 = 0x1004;
|
|
82
|
|
83 /** Many register symbol (#2) */
|
|
84 public static final int S_MANYREG2 = 0x1005;
|
|
85
|
|
86 /** BP relative 16:32 */
|
|
87 public static final int S_BPREL32 = 0x1006;
|
|
88
|
|
89 /** Local data 16:32 */
|
|
90 public static final int S_LDATA32 = 0x1007;
|
|
91
|
|
92 /** Global data 16:32 */
|
|
93 public static final int S_GDATA32 = 0x1008;
|
|
94
|
|
95 /** Public symbol 16:32 */
|
|
96 public static final int S_PUB32 = 0x1009;
|
|
97
|
|
98 /** Local procedure start 16:32 */
|
|
99 public static final int S_LPROC32 = 0x100a;
|
|
100
|
|
101 /** Global procedure start 16:32 */
|
|
102 public static final int S_GPROC32 = 0x100b;
|
|
103
|
|
104 /** Thunk start 16:32 */
|
|
105 public static final int S_THUNK32 = 0x0206;
|
|
106
|
|
107 /** Block start 16:32 */
|
|
108 public static final int S_BLOCK32 = 0x0207;
|
|
109
|
|
110 /** With start 16:32 */
|
|
111 public static final int S_WITH32 = 0x0208;
|
|
112
|
|
113 /** Label 16:32 */
|
|
114 public static final int S_LABEL32 = 0x0209;
|
|
115
|
|
116 /** Change execution model 16:32 */
|
|
117 public static final int S_CEXMODEL32 = 0x020a;
|
|
118
|
|
119 /** Virtual function table path descriptor 16:32 */
|
|
120 public static final int S_VFTTABLE32 = 0x100c;
|
|
121
|
|
122 /** 16:32 offset relative to arbitrary register */
|
|
123 public static final int S_REGREL32 = 0x100d;
|
|
124
|
|
125 /** Local Thread Storage data */
|
|
126 public static final int S_LTHREAD32 = 0x100e;
|
|
127
|
|
128 /** Global Thread Storage data */
|
|
129 public static final int S_GTHREAD32 = 0x100f;
|
|
130
|
|
131 /** Local procedure start MIPS */
|
|
132 public static final int S_LPROCMIPS = 0x1010;
|
|
133
|
|
134 /** Global procedure start MIPS */
|
|
135 public static final int S_GPROCMIPS = 0x1011;
|
|
136
|
|
137 /** Reference to a procedure */
|
|
138 public static final int S_PROCREF = 0x0400;
|
|
139
|
|
140 /** Reference to data */
|
|
141 public static final int S_DATAREF = 0x0401;
|
|
142
|
|
143 /** Page align symbols */
|
|
144 public static final int S_ALIGN = 0x0402;
|
|
145 }
|