]>
Commit | Line | Data |
---|---|---|
9655e943 JK |
1 | /* This testcase is part of GDB, the GNU debugger. |
2 | ||
ecd75fc8 | 3 | Copyright 2011-2014 Free Software Foundation, Inc. |
9655e943 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 | .section .debug_info | |
19 | .Lcu1_begin: | |
20 | /* CU header */ | |
21 | .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */ | |
22 | .Lcu1_start: | |
23 | .2byte 2 /* DWARF Version */ | |
24 | .4byte .Labbrev1_begin /* Offset into abbrev section */ | |
25 | .byte 4 /* Pointer size */ | |
26 | ||
27 | /* CU die */ | |
28 | .uleb128 1 /* Abbrev: DW_TAG_compile_unit */ | |
29 | .ascii "file1.txt\0" /* DW_AT_name */ | |
30 | .ascii "GNU C 3.3.3\0" /* DW_AT_producer */ | |
31 | .byte 1 /* DW_AT_language (C) */ | |
32 | .4byte func /* DW_AT_low_pc */ | |
33 | .4byte main /* DW_AT_high_pc */ | |
34 | ||
35 | .uleb128 2 /* Abbrev: DW_TAG_subprogram */ | |
36 | .byte 1 /* DW_AT_external */ | |
37 | .ascii "func\0" /* DW_AT_name */ | |
38 | .4byte func /* DW_AT_low_pc */ | |
39 | .4byte main /* DW_AT_high_pc */ | |
40 | ||
41 | .uleb128 3 /* Abbrev: DW_TAG_formal_parameter */ | |
42 | .ascii "param\0" /* DW_AT_name */ | |
43 | .byte 1 /* DW_AT_variable_parameter */ | |
44 | .4byte .Ltype_int - .Lcu1_begin /* DW_AT_type */ | |
45 | .byte 2f - 1f /* DW_AT_location */ | |
46 | 1: .byte 3 /* DW_OP_addr */ | |
47 | .4byte ptr /* <addr> */ | |
48 | .byte 0x6 /* DW_OP_deref */ | |
49 | 2: | |
50 | ||
51 | .byte 0 /* End of children of func */ | |
52 | ||
53 | .Ltype_int: | |
54 | .uleb128 4 /* Abbrev: DW_TAG_base_type */ | |
55 | .ascii "int\0" /* DW_AT_name */ | |
56 | .byte 4 /* DW_AT_byte_size */ | |
57 | .byte 5 /* DW_AT_encoding */ | |
58 | ||
59 | .byte 0 /* End of children of CU */ | |
60 | .Lcu1_end: | |
61 | ||
62 | /* Abbrev table */ | |
63 | .section .debug_abbrev | |
64 | .Labbrev1_begin: | |
65 | .uleb128 1 /* Abbrev code */ | |
66 | .uleb128 0x11 /* DW_TAG_compile_unit */ | |
67 | .byte 1 /* has_children */ | |
68 | .uleb128 0x3 /* DW_AT_name */ | |
69 | .uleb128 0x8 /* DW_FORM_string */ | |
70 | .uleb128 0x25 /* DW_AT_producer */ | |
71 | .uleb128 0x8 /* DW_FORM_string */ | |
72 | .uleb128 0x13 /* DW_AT_language */ | |
73 | .uleb128 0xb /* DW_FORM_data1 */ | |
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 | .byte 0x0 /* Terminator */ | |
79 | .byte 0x0 /* Terminator */ | |
80 | ||
81 | .uleb128 2 /* Abbrev code */ | |
82 | .uleb128 0x2e /* DW_TAG_subprogram */ | |
83 | .byte 1 /* has_children */ | |
84 | .uleb128 0x3f /* DW_AT_external */ | |
85 | .uleb128 0xc /* DW_FORM_flag */ | |
86 | .uleb128 0x3 /* DW_AT_name */ | |
87 | .uleb128 0x8 /* DW_FORM_string */ | |
88 | .uleb128 0x11 /* DW_AT_low_pc */ | |
89 | .uleb128 0x1 /* DW_FORM_addr */ | |
90 | .uleb128 0x12 /* DW_AT_high_pc */ | |
91 | .uleb128 0x1 /* DW_FORM_addr */ | |
92 | .byte 0x0 /* Terminator */ | |
93 | .byte 0x0 /* Terminator */ | |
94 | ||
95 | .uleb128 3 /* Abbrev code */ | |
96 | .uleb128 0x05 /* DW_TAG_formal_parameter */ | |
97 | .byte 0 /* has_children */ | |
98 | .uleb128 0x3 /* DW_AT_name */ | |
99 | .uleb128 0x8 /* DW_FORM_string */ | |
100 | .uleb128 0x4b /* DW_AT_variable_parameter */ | |
101 | .uleb128 0xb /* DW_FORM_data1 */ | |
102 | .uleb128 0x49 /* DW_AT_type */ | |
103 | .uleb128 0x13 /* DW_FORM_ref4 */ | |
104 | .uleb128 0x2 /* DW_AT_location */ | |
105 | .uleb128 0xa /* DW_FORM_block1 */ | |
106 | .byte 0x0 /* Terminator */ | |
107 | .byte 0x0 /* Terminator */ | |
108 | ||
109 | .uleb128 4 /* Abbrev code */ | |
110 | .uleb128 0x24 /* DW_TAG_base_type */ | |
111 | .byte 0 /* has_children */ | |
112 | .uleb128 0x3 /* DW_AT_name */ | |
113 | .uleb128 0x8 /* DW_FORM_string */ | |
114 | .uleb128 0xb /* DW_AT_byte_size */ | |
115 | .uleb128 0xb /* DW_FORM_data1 */ | |
116 | .uleb128 0x3e /* DW_AT_encoding */ | |
117 | .uleb128 0xb /* DW_FORM_data1 */ | |
118 | .byte 0x0 /* Terminator */ | |
119 | .byte 0x0 /* Terminator */ | |
120 | ||
121 | .byte 0x0 /* Terminator */ | |
122 | .byte 0x0 /* Terminator */ |