Commit | Line | Data |
---|---|---|
900e11f9 JK |
1 | /* This testcase is part of GDB, the GNU debugger. |
2 | ||
32d0add0 | 3 | Copyright 2011-2015 Free Software Foundation, Inc. |
900e11f9 JK |
4 | |
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 3 of the License, or | |
8 | (at your option) any later version. | |
9 | ||
10 | This program is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
17 | ||
18 | /* Debug information */ | |
19 | ||
20 | .data | |
21 | .globl c | |
22 | c: .4byte 0 | |
23 | ||
24 | .section .debug_info | |
25 | .Lcu1_begin: | |
26 | /* CU header */ | |
27 | .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */ | |
28 | .Lcu1_start: | |
29 | .2byte 2 /* DWARF Version */ | |
30 | .4byte .Labbrev1_begin /* Offset into abbrev section */ | |
31 | .byte 4 /* Pointer size */ | |
32 | ||
33 | /* CU die */ | |
34 | .uleb128 1 /* Abbrev: DW_TAG_compile_unit */ | |
35 | .4byte cu_text_start /* DW_AT_low_pc */ | |
36 | .4byte cu_text_end /* DW_AT_high_pc */ | |
37 | .ascii "file1.txt\0" /* DW_AT_name */ | |
38 | .ascii "GNU C 3.3.3\0" /* DW_AT_producer */ | |
39 | .byte 4 /* DW_AT_language (DW_LANG_C_plus_plus) */ | |
40 | ||
41 | .Ltype_class: | |
42 | .uleb128 3 /* Abbrev: DW_TAG_class_type */ | |
43 | .ascii "C\0" /* DW_AT_name */ | |
44 | ||
45 | .uleb128 5 /* Abbrev: DW_TAG_subprogram */ | |
46 | .byte 1 /* DW_AT_external */ | |
47 | .ascii "membername\0" /* DW_AT_name */ | |
48 | .ascii "f\0" /* DW_AT_MIPS_linkage_name */ | |
49 | .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */ | |
50 | ||
51 | .byte 0 /* End of children of DW_TAG_class_type */ | |
52 | ||
53 | .uleb128 4 /* Abbrev: DW_TAG_variable */ | |
54 | .ascii "c\0" /* DW_AT_name */ | |
55 | .4byte .Ltype_class-.Lcu1_begin /* DW_AT_type */ | |
56 | .byte 1 /* DW_AT_external */ | |
57 | ||
58 | .Ltype_int: | |
59 | .uleb128 2 /* Abbrev: DW_TAG_base_type */ | |
60 | .ascii "int\0" /* DW_AT_name */ | |
61 | .byte 4 /* DW_AT_byte_size */ | |
62 | .byte 5 /* DW_AT_encoding */ | |
63 | ||
64 | .byte 0 /* End of children of CU */ | |
65 | ||
66 | .Lcu1_end: | |
67 | ||
68 | /* Abbrev table */ | |
69 | .section .debug_abbrev | |
70 | .Labbrev1_begin: | |
71 | .uleb128 1 /* Abbrev code */ | |
72 | .uleb128 0x11 /* DW_TAG_compile_unit */ | |
73 | .byte 1 /* has_children */ | |
74 | .uleb128 0x11 /* DW_AT_low_pc */ | |
75 | .uleb128 0x1 /* DW_FORM_addr */ | |
76 | .uleb128 0x12 /* DW_AT_high_pc */ | |
77 | .uleb128 0x1 /* DW_FORM_addr */ | |
78 | .uleb128 0x3 /* DW_AT_name */ | |
79 | .uleb128 0x8 /* DW_FORM_string */ | |
80 | .uleb128 0x25 /* DW_AT_producer */ | |
81 | .uleb128 0x8 /* DW_FORM_string */ | |
82 | .uleb128 0x13 /* DW_AT_language */ | |
83 | .uleb128 0xb /* DW_FORM_data1 */ | |
84 | .byte 0x0 /* Terminator */ | |
85 | .byte 0x0 /* Terminator */ | |
86 | ||
87 | .uleb128 2 /* Abbrev code */ | |
88 | .uleb128 0x24 /* DW_TAG_base_type */ | |
89 | .byte 0 /* has_children */ | |
90 | .uleb128 0x3 /* DW_AT_name */ | |
91 | .uleb128 0x8 /* DW_FORM_string */ | |
92 | .uleb128 0xb /* DW_AT_byte_size */ | |
93 | .uleb128 0xb /* DW_FORM_data1 */ | |
94 | .uleb128 0x3e /* DW_AT_encoding */ | |
95 | .uleb128 0xb /* DW_FORM_data1 */ | |
96 | .byte 0x0 /* Terminator */ | |
97 | .byte 0x0 /* Terminator */ | |
98 | ||
99 | .uleb128 3 /* Abbrev code */ | |
100 | .uleb128 0x2 /* DW_TAG_class_type */ | |
101 | .byte 1 /* has_children */ | |
102 | .uleb128 0x3 /* DW_AT_name */ | |
103 | .uleb128 0x8 /* DW_FORM_string */ | |
104 | .byte 0x0 /* Terminator */ | |
105 | .byte 0x0 /* Terminator */ | |
106 | ||
107 | .uleb128 4 /* Abbrev code */ | |
108 | .uleb128 0x34 /* DW_TAG_variable */ | |
109 | .byte 0 /* has_children */ | |
110 | .uleb128 0x3 /* DW_AT_name */ | |
111 | .uleb128 0x8 /* DW_FORM_string */ | |
112 | .uleb128 0x49 /* DW_AT_type */ | |
113 | .uleb128 0x13 /* DW_FORM_ref4 */ | |
114 | .uleb128 0x3f /* DW_AT_external */ | |
115 | .uleb128 0xc /* DW_FORM_flag */ | |
116 | .byte 0x0 /* Terminator */ | |
117 | .byte 0x0 /* Terminator */ | |
118 | ||
119 | .uleb128 5 /* Abbrev code */ | |
120 | .uleb128 0x2e /* DW_TAG_subprogram */ | |
121 | .byte 0 /* has_children */ | |
122 | .uleb128 0x3f /* DW_AT_external */ | |
123 | .uleb128 0xc /* DW_FORM_flag */ | |
124 | .uleb128 0x3 /* DW_AT_name */ | |
125 | .uleb128 0x8 /* DW_FORM_string */ | |
126 | .uleb128 0x2007 /* DW_AT_MIPS_linkage_name */ | |
127 | .uleb128 0x8 /* DW_FORM_string */ | |
128 | .uleb128 0x49 /* DW_AT_type */ | |
129 | .uleb128 0x13 /* DW_FORM_ref4 */ | |
130 | .byte 0x0 /* Terminator */ | |
131 | .byte 0x0 /* Terminator */ | |
132 | ||
133 | .byte 0x0 /* Terminator */ | |
134 | .byte 0x0 /* Terminator */ |