annotate include/dwarf2.h @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Declarations and definitions of codes relating to the DWARF2 and
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 DWARF3 symbolic debugging information formats.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
3 Copyright (C) 1992-2020 Free Software Foundation, Inc.
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 Written by Gary Funck (gary@intrepid.com) The Ada Joint Program
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 Office (AJPO), Florida State University and Silicon Graphics Inc.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 provided support for this effort -- June 21, 1995.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 Derived from the DWARF 1 implementation written by Ron Guilmette
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 (rfg@netcom.com), November 1990.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 This file is part of GCC.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 GCC is free software; you can redistribute it and/or modify it under
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 the terms of the GNU General Public License as published by the Free
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 Software Foundation; either version 3, or (at your option) any later
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 version.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 GCC is distributed in the hope that it will be useful, but WITHOUT
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 License for more details.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 Under Section 7 of GPL version 3, you are granted additional
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 permissions described in the GCC Runtime Library Exception, version
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 3.1, as published by the Free Software Foundation.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 You should have received a copy of the GNU General Public License and
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 a copy of the GCC Runtime Library Exception along with this program;
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 <http://www.gnu.org/licenses/>. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 /* This file is derived from the DWARF specification (a public document)
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 Revision 2.0.0 (July 27, 1993) developed by the UNIX International
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 Programming Languages Special Interest Group (UI/PLSIG) and distributed
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 by UNIX International. Copies of this specification are available from
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 UNIX International, 20 Waterview Boulevard, Parsippany, NJ, 07054.
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
38
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 This file also now contains definitions from the DWARF 3 specification
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 published Dec 20, 2005, available from: http://dwarf.freestandards.org. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
42 #ifndef _DWARF2_H
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
43 #define _DWARF2_H
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44
111
kono
parents: 67
diff changeset
45 #define DW_TAG(name, value) , name = value
kono
parents: 67
diff changeset
46 #define DW_TAG_DUP(name, value) , name = value
kono
parents: 67
diff changeset
47 #define DW_FORM(name, value) , name = value
kono
parents: 67
diff changeset
48 #define DW_AT(name, value) , name = value
kono
parents: 67
diff changeset
49 #define DW_AT_DUP(name, value) , name = value
kono
parents: 67
diff changeset
50 #define DW_OP(name, value) , name = value
kono
parents: 67
diff changeset
51 #define DW_OP_DUP(name, value) , name = value
kono
parents: 67
diff changeset
52 #define DW_ATE(name, value) , name = value
kono
parents: 67
diff changeset
53 #define DW_ATE_DUP(name, value) , name = value
kono
parents: 67
diff changeset
54 #define DW_CFA(name, value) , name = value
kono
parents: 67
diff changeset
55 #define DW_CFA_DUP(name, value) , name = value
kono
parents: 67
diff changeset
56 #define DW_IDX(name, value) , name = value
kono
parents: 67
diff changeset
57 #define DW_IDX_DUP(name, value) , name = value
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
58
111
kono
parents: 67
diff changeset
59 #define DW_FIRST_TAG(name, value) enum dwarf_tag { \
kono
parents: 67
diff changeset
60 name = value
kono
parents: 67
diff changeset
61 #define DW_END_TAG };
kono
parents: 67
diff changeset
62 #define DW_FIRST_FORM(name, value) enum dwarf_form { \
kono
parents: 67
diff changeset
63 name = value
kono
parents: 67
diff changeset
64 #define DW_END_FORM };
kono
parents: 67
diff changeset
65 #define DW_FIRST_AT(name, value) enum dwarf_attribute { \
kono
parents: 67
diff changeset
66 name = value
kono
parents: 67
diff changeset
67 #define DW_END_AT };
kono
parents: 67
diff changeset
68 #define DW_FIRST_OP(name, value) enum dwarf_location_atom { \
kono
parents: 67
diff changeset
69 name = value
kono
parents: 67
diff changeset
70 #define DW_END_OP };
kono
parents: 67
diff changeset
71 #define DW_FIRST_ATE(name, value) enum dwarf_type { \
kono
parents: 67
diff changeset
72 name = value
kono
parents: 67
diff changeset
73 #define DW_END_ATE };
kono
parents: 67
diff changeset
74 #define DW_FIRST_CFA(name, value) enum dwarf_call_frame_info { \
kono
parents: 67
diff changeset
75 name = value
kono
parents: 67
diff changeset
76 #define DW_END_CFA };
kono
parents: 67
diff changeset
77 #define DW_FIRST_IDX(name, value) enum dwarf_name_index_attribute { \
kono
parents: 67
diff changeset
78 name = value
kono
parents: 67
diff changeset
79 #define DW_END_IDX };
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
80
111
kono
parents: 67
diff changeset
81 #include "dwarf2.def"
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
82
111
kono
parents: 67
diff changeset
83 #undef DW_FIRST_TAG
kono
parents: 67
diff changeset
84 #undef DW_END_TAG
kono
parents: 67
diff changeset
85 #undef DW_FIRST_FORM
kono
parents: 67
diff changeset
86 #undef DW_END_FORM
kono
parents: 67
diff changeset
87 #undef DW_FIRST_AT
kono
parents: 67
diff changeset
88 #undef DW_END_AT
kono
parents: 67
diff changeset
89 #undef DW_FIRST_OP
kono
parents: 67
diff changeset
90 #undef DW_END_OP
kono
parents: 67
diff changeset
91 #undef DW_FIRST_ATE
kono
parents: 67
diff changeset
92 #undef DW_END_ATE
kono
parents: 67
diff changeset
93 #undef DW_FIRST_CFA
kono
parents: 67
diff changeset
94 #undef DW_END_CFA
kono
parents: 67
diff changeset
95 #undef DW_FIRST_IDX
kono
parents: 67
diff changeset
96 #undef DW_END_IDX
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
97
111
kono
parents: 67
diff changeset
98 #undef DW_TAG
kono
parents: 67
diff changeset
99 #undef DW_TAG_DUP
kono
parents: 67
diff changeset
100 #undef DW_FORM
kono
parents: 67
diff changeset
101 #undef DW_AT
kono
parents: 67
diff changeset
102 #undef DW_AT_DUP
kono
parents: 67
diff changeset
103 #undef DW_OP
kono
parents: 67
diff changeset
104 #undef DW_OP_DUP
kono
parents: 67
diff changeset
105 #undef DW_ATE
kono
parents: 67
diff changeset
106 #undef DW_ATE_DUP
kono
parents: 67
diff changeset
107 #undef DW_CFA
kono
parents: 67
diff changeset
108 #undef DW_CFA_DUP
kono
parents: 67
diff changeset
109 #undef DW_IDX
kono
parents: 67
diff changeset
110 #undef DW_IDX_DUP
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
111
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
112 /* Flag that tells whether entry has a child or not. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
113 #define DW_children_no 0
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
114 #define DW_children_yes 1
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
115
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
116 #define DW_AT_stride_size DW_AT_bit_stride /* Note: The use of DW_AT_stride_size is deprecated. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 #define DW_AT_stride DW_AT_byte_stride /* Note: The use of DW_AT_stride is deprecated. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
118
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
119 /* Decimal sign encodings. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 enum dwarf_decimal_sign_encoding
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
121 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 /* DWARF 3. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 DW_DS_unsigned = 0x01,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
124 DW_DS_leading_overpunch = 0x02,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
125 DW_DS_trailing_overpunch = 0x03,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
126 DW_DS_leading_separate = 0x04,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
127 DW_DS_trailing_separate = 0x05
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
128 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
129
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
130 /* Endianity encodings. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
131 enum dwarf_endianity_encoding
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
132 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
133 /* DWARF 3. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
134 DW_END_default = 0x00,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
135 DW_END_big = 0x01,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
136 DW_END_little = 0x02,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
137
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
138 DW_END_lo_user = 0x40,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
139 DW_END_hi_user = 0xff
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
140 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
141
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
142 /* Array ordering names and codes. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
143 enum dwarf_array_dim_ordering
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
144 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
145 DW_ORD_row_major = 0,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
146 DW_ORD_col_major = 1
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
147 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
148
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
149 /* Access attribute. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
150 enum dwarf_access_attribute
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
151 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
152 DW_ACCESS_public = 1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
153 DW_ACCESS_protected = 2,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
154 DW_ACCESS_private = 3
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
155 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
156
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
157 /* Visibility. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
158 enum dwarf_visibility_attribute
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
159 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
160 DW_VIS_local = 1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
161 DW_VIS_exported = 2,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
162 DW_VIS_qualified = 3
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
163 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
164
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
165 /* Virtuality. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
166 enum dwarf_virtuality_attribute
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
167 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
168 DW_VIRTUALITY_none = 0,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
169 DW_VIRTUALITY_virtual = 1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
170 DW_VIRTUALITY_pure_virtual = 2
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
171 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
172
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
173 /* Case sensitivity. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
174 enum dwarf_id_case
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
175 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
176 DW_ID_case_sensitive = 0,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
177 DW_ID_up_case = 1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
178 DW_ID_down_case = 2,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
179 DW_ID_case_insensitive = 3
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
180 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
181
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
182 /* Calling convention. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
183 enum dwarf_calling_convention
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
184 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
185 DW_CC_normal = 0x1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
186 DW_CC_program = 0x2,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
187 DW_CC_nocall = 0x3,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
188
111
kono
parents: 67
diff changeset
189 /* DWARF 5. */
kono
parents: 67
diff changeset
190 DW_CC_pass_by_reference = 0x4,
kono
parents: 67
diff changeset
191 DW_CC_pass_by_value = 0x5,
kono
parents: 67
diff changeset
192
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
193 DW_CC_lo_user = 0x40,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
194 DW_CC_hi_user = 0xff,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
195
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
196 DW_CC_GNU_renesas_sh = 0x40,
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
197 DW_CC_GNU_borland_fastcall_i386 = 0x41,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
198
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
199 /* This DW_CC_ value is not currently generated by any toolchain. It is
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
200 used internally to GDB to indicate OpenCL C functions that have been
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
201 compiled with the IBM XL C for OpenCL compiler and use a non-platform
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
202 calling convention for passing OpenCL C vector types. This value may
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
203 be changed freely as long as it does not conflict with any other DW_CC_
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
204 value defined here. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
205 DW_CC_GDB_IBM_OpenCL = 0xff
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
206 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
207
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
208 /* Inline attribute. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
209 enum dwarf_inline_attribute
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
210 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
211 DW_INL_not_inlined = 0,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
212 DW_INL_inlined = 1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
213 DW_INL_declared_not_inlined = 2,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
214 DW_INL_declared_inlined = 3
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
215 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
216
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
217 /* Discriminant lists. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
218 enum dwarf_discrim_list
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
219 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
220 DW_DSC_label = 0,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
221 DW_DSC_range = 1
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
222 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
223
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
224 /* Line number opcodes. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
225 enum dwarf_line_number_ops
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
226 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
227 DW_LNS_extended_op = 0,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
228 DW_LNS_copy = 1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
229 DW_LNS_advance_pc = 2,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
230 DW_LNS_advance_line = 3,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
231 DW_LNS_set_file = 4,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
232 DW_LNS_set_column = 5,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
233 DW_LNS_negate_stmt = 6,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
234 DW_LNS_set_basic_block = 7,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
235 DW_LNS_const_add_pc = 8,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
236 DW_LNS_fixed_advance_pc = 9,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
237 /* DWARF 3. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
238 DW_LNS_set_prologue_end = 10,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
239 DW_LNS_set_epilogue_begin = 11,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
240 DW_LNS_set_isa = 12
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
241 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
242
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
243 /* Line number extended opcodes. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
244 enum dwarf_line_number_x_ops
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
245 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
246 DW_LNE_end_sequence = 1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
247 DW_LNE_set_address = 2,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
248 DW_LNE_define_file = 3,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
249 DW_LNE_set_discriminator = 4,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
250 /* HP extensions. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
251 DW_LNE_HP_negate_is_UV_update = 0x11,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
252 DW_LNE_HP_push_context = 0x12,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
253 DW_LNE_HP_pop_context = 0x13,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
254 DW_LNE_HP_set_file_line_column = 0x14,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
255 DW_LNE_HP_set_routine_name = 0x15,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
256 DW_LNE_HP_set_sequence = 0x16,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
257 DW_LNE_HP_negate_post_semantics = 0x17,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
258 DW_LNE_HP_negate_function_exit = 0x18,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
259 DW_LNE_HP_negate_front_end_logical = 0x19,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
260 DW_LNE_HP_define_proc = 0x20,
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
261 DW_LNE_HP_source_file_correlation = 0x80,
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
262
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
263 DW_LNE_lo_user = 0x80,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
264 DW_LNE_hi_user = 0xff
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
265 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
266
111
kono
parents: 67
diff changeset
267 /* Sub-opcodes for DW_LNE_HP_source_file_correlation. */
kono
parents: 67
diff changeset
268 enum dwarf_line_number_hp_sfc_ops
kono
parents: 67
diff changeset
269 {
kono
parents: 67
diff changeset
270 DW_LNE_HP_SFC_formfeed = 1,
kono
parents: 67
diff changeset
271 DW_LNE_HP_SFC_set_listing_line = 2,
kono
parents: 67
diff changeset
272 DW_LNE_HP_SFC_associate = 3
kono
parents: 67
diff changeset
273 };
kono
parents: 67
diff changeset
274
kono
parents: 67
diff changeset
275 /* Content type codes in line table directory_entry_format
kono
parents: 67
diff changeset
276 and file_name_entry_format sequences. */
kono
parents: 67
diff changeset
277 enum dwarf_line_number_content_type
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
278 {
111
kono
parents: 67
diff changeset
279 DW_LNCT_path = 0x1,
kono
parents: 67
diff changeset
280 DW_LNCT_directory_index = 0x2,
kono
parents: 67
diff changeset
281 DW_LNCT_timestamp = 0x3,
kono
parents: 67
diff changeset
282 DW_LNCT_size = 0x4,
kono
parents: 67
diff changeset
283 DW_LNCT_MD5 = 0x5,
kono
parents: 67
diff changeset
284 DW_LNCT_lo_user = 0x2000,
kono
parents: 67
diff changeset
285 DW_LNCT_hi_user = 0x3fff
kono
parents: 67
diff changeset
286 };
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
287
111
kono
parents: 67
diff changeset
288 /* Type codes for location list entries. */
kono
parents: 67
diff changeset
289 enum dwarf_location_list_entry_type
kono
parents: 67
diff changeset
290 {
kono
parents: 67
diff changeset
291 DW_LLE_end_of_list = 0x00,
kono
parents: 67
diff changeset
292 DW_LLE_base_addressx = 0x01,
kono
parents: 67
diff changeset
293 DW_LLE_startx_endx = 0x02,
kono
parents: 67
diff changeset
294 DW_LLE_startx_length = 0x03,
kono
parents: 67
diff changeset
295 DW_LLE_offset_pair = 0x04,
kono
parents: 67
diff changeset
296 DW_LLE_default_location = 0x05,
kono
parents: 67
diff changeset
297 DW_LLE_base_address = 0x06,
kono
parents: 67
diff changeset
298 DW_LLE_start_end = 0x07,
kono
parents: 67
diff changeset
299 DW_LLE_start_length = 0x08,
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
300
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
301 /* <http://lists.dwarfstd.org/private.cgi/dwarf-discuss-dwarfstd.org/2017-April/004347.html>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
302 has the proposal for now; only available to list members.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
303
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
304 A (possibly updated) copy of the proposal is available at
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
305 <http://people.redhat.com/aoliva/papers/sfn/dwarf6-sfn-lvu.txt>. */
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
306 DW_LLE_GNU_view_pair = 0x09,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
307 #define DW_LLE_view_pair DW_LLE_GNU_view_pair
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
308
111
kono
parents: 67
diff changeset
309 /* Former extension for Fission.
kono
parents: 67
diff changeset
310 See http://gcc.gnu.org/wiki/DebugFission. */
kono
parents: 67
diff changeset
311 DW_LLE_GNU_end_of_list_entry = 0x00,
kono
parents: 67
diff changeset
312 DW_LLE_GNU_base_address_selection_entry = 0x01,
kono
parents: 67
diff changeset
313 DW_LLE_GNU_start_end_entry = 0x02,
kono
parents: 67
diff changeset
314 DW_LLE_GNU_start_length_entry = 0x03
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
315 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
316
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
317 #define DW_CIE_ID 0xffffffff
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
318 #define DW64_CIE_ID 0xffffffffffffffffULL
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
319 #define DW_CIE_VERSION 1
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
320
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
321 #define DW_CFA_extended 0
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
322
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
323 #define DW_CHILDREN_no 0x00
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
324 #define DW_CHILDREN_yes 0x01
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
325
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
326 #define DW_ADDR_none 0
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
327
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
328 /* Source language names and codes. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
329 enum dwarf_source_language
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
330 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
331 DW_LANG_C89 = 0x0001,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
332 DW_LANG_C = 0x0002,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
333 DW_LANG_Ada83 = 0x0003,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
334 DW_LANG_C_plus_plus = 0x0004,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
335 DW_LANG_Cobol74 = 0x0005,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
336 DW_LANG_Cobol85 = 0x0006,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
337 DW_LANG_Fortran77 = 0x0007,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
338 DW_LANG_Fortran90 = 0x0008,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
339 DW_LANG_Pascal83 = 0x0009,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
340 DW_LANG_Modula2 = 0x000a,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
341 /* DWARF 3. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
342 DW_LANG_Java = 0x000b,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
343 DW_LANG_C99 = 0x000c,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
344 DW_LANG_Ada95 = 0x000d,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
345 DW_LANG_Fortran95 = 0x000e,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
346 DW_LANG_PLI = 0x000f,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
347 DW_LANG_ObjC = 0x0010,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
348 DW_LANG_ObjC_plus_plus = 0x0011,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
349 DW_LANG_UPC = 0x0012,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
350 DW_LANG_D = 0x0013,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
351 /* DWARF 4. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
352 DW_LANG_Python = 0x0014,
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
353 /* DWARF 5. */
111
kono
parents: 67
diff changeset
354 DW_LANG_OpenCL = 0x0015,
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
355 DW_LANG_Go = 0x0016,
111
kono
parents: 67
diff changeset
356 DW_LANG_Modula3 = 0x0017,
kono
parents: 67
diff changeset
357 DW_LANG_Haskell = 0x0018,
kono
parents: 67
diff changeset
358 DW_LANG_C_plus_plus_03 = 0x0019,
kono
parents: 67
diff changeset
359 DW_LANG_C_plus_plus_11 = 0x001a,
kono
parents: 67
diff changeset
360 DW_LANG_OCaml = 0x001b,
kono
parents: 67
diff changeset
361 DW_LANG_Rust = 0x001c,
kono
parents: 67
diff changeset
362 DW_LANG_C11 = 0x001d,
kono
parents: 67
diff changeset
363 DW_LANG_Swift = 0x001e,
kono
parents: 67
diff changeset
364 DW_LANG_Julia = 0x001f,
kono
parents: 67
diff changeset
365 DW_LANG_Dylan = 0x0020,
kono
parents: 67
diff changeset
366 DW_LANG_C_plus_plus_14 = 0x0021,
kono
parents: 67
diff changeset
367 DW_LANG_Fortran03 = 0x0022,
kono
parents: 67
diff changeset
368 DW_LANG_Fortran08 = 0x0023,
kono
parents: 67
diff changeset
369 DW_LANG_RenderScript = 0x0024,
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
370
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
371 DW_LANG_lo_user = 0x8000, /* Implementation-defined range start. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
372 DW_LANG_hi_user = 0xffff, /* Implementation-defined range start. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
373
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
374 /* MIPS. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
375 DW_LANG_Mips_Assembler = 0x8001,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
376 /* UPC. */
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
377 DW_LANG_Upc = 0x8765,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
378 /* HP extensions. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
379 DW_LANG_HP_Bliss = 0x8003,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
380 DW_LANG_HP_Basic91 = 0x8004,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
381 DW_LANG_HP_Pascal91 = 0x8005,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
382 DW_LANG_HP_IMacro = 0x8006,
111
kono
parents: 67
diff changeset
383 DW_LANG_HP_Assembler = 0x8007,
kono
parents: 67
diff changeset
384
kono
parents: 67
diff changeset
385 /* Rust extension, but replaced in DWARF 5. */
kono
parents: 67
diff changeset
386 DW_LANG_Rust_old = 0x9000
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
387 };
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
388
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
389 /* Names and codes for macro information. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
390 enum dwarf_macinfo_record_type
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
391 {
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
392 DW_MACINFO_define = 1,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
393 DW_MACINFO_undef = 2,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
394 DW_MACINFO_start_file = 3,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
395 DW_MACINFO_end_file = 4,
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
396 DW_MACINFO_vendor_ext = 255
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
397 };
111
kono
parents: 67
diff changeset
398
kono
parents: 67
diff changeset
399 /* DW_TAG_defaulted/DW_TAG_GNU_defaulted attributes. */
kono
parents: 67
diff changeset
400 enum dwarf_defaulted_attribute
kono
parents: 67
diff changeset
401 {
kono
parents: 67
diff changeset
402 DW_DEFAULTED_no = 0x00,
kono
parents: 67
diff changeset
403 DW_DEFAULTED_in_class = 0x01,
kono
parents: 67
diff changeset
404 DW_DEFAULTED_out_of_class = 0x02
kono
parents: 67
diff changeset
405 };
kono
parents: 67
diff changeset
406
kono
parents: 67
diff changeset
407 /* Names and codes for new style macro information. */
kono
parents: 67
diff changeset
408 enum dwarf_macro_record_type
kono
parents: 67
diff changeset
409 {
kono
parents: 67
diff changeset
410 DW_MACRO_define = 0x01,
kono
parents: 67
diff changeset
411 DW_MACRO_undef = 0x02,
kono
parents: 67
diff changeset
412 DW_MACRO_start_file = 0x03,
kono
parents: 67
diff changeset
413 DW_MACRO_end_file = 0x04,
kono
parents: 67
diff changeset
414 DW_MACRO_define_strp = 0x05,
kono
parents: 67
diff changeset
415 DW_MACRO_undef_strp = 0x06,
kono
parents: 67
diff changeset
416 DW_MACRO_import = 0x07,
kono
parents: 67
diff changeset
417 DW_MACRO_define_sup = 0x08,
kono
parents: 67
diff changeset
418 DW_MACRO_undef_sup = 0x09,
kono
parents: 67
diff changeset
419 DW_MACRO_import_sup = 0x0a,
kono
parents: 67
diff changeset
420 DW_MACRO_define_strx = 0x0b,
kono
parents: 67
diff changeset
421 DW_MACRO_undef_strx = 0x0c,
kono
parents: 67
diff changeset
422 DW_MACRO_lo_user = 0xe0,
kono
parents: 67
diff changeset
423 DW_MACRO_hi_user = 0xff,
kono
parents: 67
diff changeset
424
kono
parents: 67
diff changeset
425 /* Compatibility macros for the GNU .debug_macro extension. */
kono
parents: 67
diff changeset
426 DW_MACRO_GNU_define = 0x01,
kono
parents: 67
diff changeset
427 DW_MACRO_GNU_undef = 0x02,
kono
parents: 67
diff changeset
428 DW_MACRO_GNU_start_file = 0x03,
kono
parents: 67
diff changeset
429 DW_MACRO_GNU_end_file = 0x04,
kono
parents: 67
diff changeset
430 DW_MACRO_GNU_define_indirect = 0x05,
kono
parents: 67
diff changeset
431 DW_MACRO_GNU_undef_indirect = 0x06,
kono
parents: 67
diff changeset
432 DW_MACRO_GNU_transparent_include = 0x07,
kono
parents: 67
diff changeset
433 /* Extensions for DWZ multifile.
kono
parents: 67
diff changeset
434 See http://www.dwarfstd.org/ShowIssue.php?issue=120604.1&type=open . */
kono
parents: 67
diff changeset
435 DW_MACRO_GNU_define_indirect_alt = 0x08,
kono
parents: 67
diff changeset
436 DW_MACRO_GNU_undef_indirect_alt = 0x09,
kono
parents: 67
diff changeset
437 DW_MACRO_GNU_transparent_include_alt = 0x0a,
kono
parents: 67
diff changeset
438 DW_MACRO_GNU_lo_user = 0xe0,
kono
parents: 67
diff changeset
439 DW_MACRO_GNU_hi_user = 0xff
kono
parents: 67
diff changeset
440 };
kono
parents: 67
diff changeset
441
kono
parents: 67
diff changeset
442 /* Range list entry kinds in .debug_rnglists* section. */
kono
parents: 67
diff changeset
443 enum dwarf_range_list_entry
kono
parents: 67
diff changeset
444 {
kono
parents: 67
diff changeset
445 DW_RLE_end_of_list = 0x00,
kono
parents: 67
diff changeset
446 DW_RLE_base_addressx = 0x01,
kono
parents: 67
diff changeset
447 DW_RLE_startx_endx = 0x02,
kono
parents: 67
diff changeset
448 DW_RLE_startx_length = 0x03,
kono
parents: 67
diff changeset
449 DW_RLE_offset_pair = 0x04,
kono
parents: 67
diff changeset
450 DW_RLE_base_address = 0x05,
kono
parents: 67
diff changeset
451 DW_RLE_start_end = 0x06,
kono
parents: 67
diff changeset
452 DW_RLE_start_length = 0x07
kono
parents: 67
diff changeset
453 };
kono
parents: 67
diff changeset
454
kono
parents: 67
diff changeset
455 /* Unit types in unit_type unit header field. */
kono
parents: 67
diff changeset
456 enum dwarf_unit_type
kono
parents: 67
diff changeset
457 {
kono
parents: 67
diff changeset
458 DW_UT_compile = 0x01,
kono
parents: 67
diff changeset
459 DW_UT_type = 0x02,
kono
parents: 67
diff changeset
460 DW_UT_partial = 0x03,
kono
parents: 67
diff changeset
461 DW_UT_skeleton = 0x04,
kono
parents: 67
diff changeset
462 DW_UT_split_compile = 0x05,
kono
parents: 67
diff changeset
463 DW_UT_split_type = 0x06,
kono
parents: 67
diff changeset
464 DW_UT_lo_user = 0x80,
kono
parents: 67
diff changeset
465 DW_UT_hi_user = 0xff
kono
parents: 67
diff changeset
466 };
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
467
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
468 /* @@@ For use with GNU frame unwind information. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
469
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
470 #define DW_EH_PE_absptr 0x00
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
471 #define DW_EH_PE_omit 0xff
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
472
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
473 #define DW_EH_PE_uleb128 0x01
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
474 #define DW_EH_PE_udata2 0x02
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
475 #define DW_EH_PE_udata4 0x03
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
476 #define DW_EH_PE_udata8 0x04
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
477 #define DW_EH_PE_sleb128 0x09
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
478 #define DW_EH_PE_sdata2 0x0A
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
479 #define DW_EH_PE_sdata4 0x0B
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
480 #define DW_EH_PE_sdata8 0x0C
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
481 #define DW_EH_PE_signed 0x08
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
482
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
483 #define DW_EH_PE_pcrel 0x10
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
484 #define DW_EH_PE_textrel 0x20
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
485 #define DW_EH_PE_datarel 0x30
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
486 #define DW_EH_PE_funcrel 0x40
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
487 #define DW_EH_PE_aligned 0x50
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
488
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
489 #define DW_EH_PE_indirect 0x80
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
490
111
kono
parents: 67
diff changeset
491 /* Codes for the debug sections in a dwarf package (.dwp) file.
kono
parents: 67
diff changeset
492 Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFissionDWP. */
kono
parents: 67
diff changeset
493 enum dwarf_sect
kono
parents: 67
diff changeset
494 {
kono
parents: 67
diff changeset
495 DW_SECT_INFO = 1,
kono
parents: 67
diff changeset
496 DW_SECT_TYPES = 2,
kono
parents: 67
diff changeset
497 DW_SECT_ABBREV = 3,
kono
parents: 67
diff changeset
498 DW_SECT_LINE = 4,
kono
parents: 67
diff changeset
499 DW_SECT_LOC = 5,
kono
parents: 67
diff changeset
500 DW_SECT_STR_OFFSETS = 6,
kono
parents: 67
diff changeset
501 DW_SECT_MACINFO = 7,
kono
parents: 67
diff changeset
502 DW_SECT_MACRO = 8,
kono
parents: 67
diff changeset
503 DW_SECT_MAX = 8
kono
parents: 67
diff changeset
504 };
kono
parents: 67
diff changeset
505
kono
parents: 67
diff changeset
506 #ifdef __cplusplus
kono
parents: 67
diff changeset
507 extern "C" {
kono
parents: 67
diff changeset
508 #endif /* __cplusplus */
kono
parents: 67
diff changeset
509
kono
parents: 67
diff changeset
510 /* Return the name of a DW_TAG_ constant, or NULL if the value is not
kono
parents: 67
diff changeset
511 recognized. */
kono
parents: 67
diff changeset
512 extern const char *get_DW_TAG_name (unsigned int tag);
kono
parents: 67
diff changeset
513
kono
parents: 67
diff changeset
514 /* Return the name of a DW_AT_ constant, or NULL if the value is not
kono
parents: 67
diff changeset
515 recognized. */
kono
parents: 67
diff changeset
516 extern const char *get_DW_AT_name (unsigned int attr);
kono
parents: 67
diff changeset
517
kono
parents: 67
diff changeset
518 /* Return the name of a DW_FORM_ constant, or NULL if the value is not
kono
parents: 67
diff changeset
519 recognized. */
kono
parents: 67
diff changeset
520 extern const char *get_DW_FORM_name (unsigned int form);
kono
parents: 67
diff changeset
521
kono
parents: 67
diff changeset
522 /* Return the name of a DW_OP_ constant, or NULL if the value is not
kono
parents: 67
diff changeset
523 recognized. */
kono
parents: 67
diff changeset
524 extern const char *get_DW_OP_name (unsigned int op);
kono
parents: 67
diff changeset
525
kono
parents: 67
diff changeset
526 /* Return the name of a DW_ATE_ constant, or NULL if the value is not
kono
parents: 67
diff changeset
527 recognized. */
kono
parents: 67
diff changeset
528 extern const char *get_DW_ATE_name (unsigned int enc);
kono
parents: 67
diff changeset
529
kono
parents: 67
diff changeset
530 /* Return the name of a DW_CFA_ constant, or NULL if the value is not
kono
parents: 67
diff changeset
531 recognized. */
kono
parents: 67
diff changeset
532 extern const char *get_DW_CFA_name (unsigned int opc);
kono
parents: 67
diff changeset
533
kono
parents: 67
diff changeset
534 /* Return the name of a DW_IDX_ constant, or NULL if the value is not
kono
parents: 67
diff changeset
535 recognized. */
kono
parents: 67
diff changeset
536 extern const char *get_DW_IDX_name (unsigned int idx);
kono
parents: 67
diff changeset
537
kono
parents: 67
diff changeset
538 #ifdef __cplusplus
kono
parents: 67
diff changeset
539 }
kono
parents: 67
diff changeset
540 #endif /* __cplusplus */
kono
parents: 67
diff changeset
541
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
542 #endif /* _DWARF2_H */