|
| 1 | +/* This testcase is part of GDB, the GNU debugger. |
| 2 | +
|
| 3 | + Copyright 2012 Free Software Foundation, Inc. |
| 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 | + .file "longest-types-64bit.c" |
| 19 | + .text |
| 20 | +.Ltext0: |
| 21 | + .globl main |
| 22 | +main: |
| 23 | + .comm f,8,8 |
| 24 | +.Letext0: |
| 25 | + .file 1 "gdb.base/longest-types-64bit.c" |
| 26 | + .section .debug_info,"",@progbits |
| 27 | +.Ldebug_info0: |
| 28 | + .4byte 0x9a /* Length of Compilation Unit Info */ |
| 29 | + .2byte 0x2 /* DWARF version number */ |
| 30 | + .4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */ |
| 31 | + .byte 0x8 /* Pointer Size (in bytes) */ |
| 32 | + .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */ |
| 33 | + .4byte .LASF3 /* DW_AT_producer: "GNU C 4.7.3 20121109 (prerelease)" */ |
| 34 | + .byte 0x1 /* DW_AT_language */ |
| 35 | + .4byte .LASF4 /* DW_AT_name: "gdb.base/longest-types-64bit.c" */ |
| 36 | + .4byte .LASF5 /* DW_AT_comp_dir: "" */ |
| 37 | + .4byte .Ldebug_line0 /* DW_AT_stmt_list */ |
| 38 | + .uleb128 0x2 /* (DIE (0x1d) DW_TAG_structure_type) */ |
| 39 | + .ascii "foo\0" /* DW_AT_name */ |
| 40 | + .4byte 0xff000002 /* DW_AT_byte_size */ |
| 41 | + .byte 0x1 /* DW_AT_decl_file (gdb.base/longest-types-64bit.c) */ |
| 42 | + .byte 0x12 /* DW_AT_decl_line */ |
| 43 | + .4byte 0x4e /* DW_AT_sibling */ |
| 44 | + .uleb128 0x3 /* (DIE (0x2c) DW_TAG_member) */ |
| 45 | + .ascii "buf\0" /* DW_AT_name */ |
| 46 | + .byte 0x1 /* DW_AT_decl_file (gdb.base/longest-types-64bit.c) */ |
| 47 | + .byte 0x14 /* DW_AT_decl_line */ |
| 48 | + .4byte 0x4e /* DW_AT_type */ |
| 49 | + .byte 0x2 /* DW_AT_data_member_location */ |
| 50 | + .byte 0x23 /* DW_OP_plus_uconst */ |
| 51 | + .uleb128 0 |
| 52 | + .uleb128 0x4 /* (DIE (0x3a) DW_TAG_member) */ |
| 53 | + .4byte .LASF0 /* DW_AT_name: "buf2" */ |
| 54 | + .byte 0x1 /* DW_AT_decl_file (gdb.base/longest-types-64bit.c) */ |
| 55 | + .byte 0x15 /* DW_AT_decl_line */ |
| 56 | + .4byte 0x73 /* DW_AT_type */ |
| 57 | + .byte 0x7 /* DW_AT_data_member_location */ |
| 58 | + .byte 0x23 /* DW_OP_plus_uconst */ |
| 59 | + .uleb128 0xffff000000 |
| 60 | + .byte 0 /* end of children of DIE 0x1d */ |
| 61 | + .uleb128 0x5 /* (DIE (0x4e) DW_TAG_array_type) */ |
| 62 | + .4byte 0x6c /* DW_AT_type */ |
| 63 | + .4byte 0x65 /* DW_AT_sibling */ |
| 64 | + .uleb128 0x6 /* (DIE (0x57) DW_TAG_subrange_type) */ |
| 65 | + .4byte 0x65 /* DW_AT_type */ |
| 66 | + .quad 0xfffeffffff /* DW_AT_upper_bound */ |
| 67 | + .byte 0 /* end of children of DIE 0x4e */ |
| 68 | + .uleb128 0x7 /* (DIE (0x65) DW_TAG_base_type) */ |
| 69 | + .byte 0x8 /* DW_AT_byte_size */ |
| 70 | + .byte 0x7 /* DW_AT_encoding */ |
| 71 | + .4byte .LASF1 /* DW_AT_name: "sizetype" */ |
| 72 | + .uleb128 0x7 /* (DIE (0x6c) DW_TAG_base_type) */ |
| 73 | + .byte 0x1 /* DW_AT_byte_size */ |
| 74 | + .byte 0x6 /* DW_AT_encoding */ |
| 75 | + .4byte .LASF2 /* DW_AT_name: "char" */ |
| 76 | + .uleb128 0x5 /* (DIE (0x73) DW_TAG_array_type) */ |
| 77 | + .4byte 0x6c /* DW_AT_type */ |
| 78 | + .4byte 0x83 /* DW_AT_sibling */ |
| 79 | + .uleb128 0x8 /* (DIE (0x7c) DW_TAG_subrange_type) */ |
| 80 | + .4byte 0x65 /* DW_AT_type */ |
| 81 | + .byte 0x1 /* DW_AT_upper_bound */ |
| 82 | + .byte 0 /* end of children of DIE 0x73 */ |
| 83 | + .uleb128 0x9 /* (DIE (0x83) DW_TAG_variable) */ |
| 84 | + .ascii "f\0" /* DW_AT_name */ |
| 85 | + .byte 0x1 /* DW_AT_decl_file (gdb.base/longest-types-64bit.c) */ |
| 86 | + .byte 0x16 /* DW_AT_decl_line */ |
| 87 | + .4byte 0x97 /* DW_AT_type */ |
| 88 | + .byte 0x1 /* DW_AT_external */ |
| 89 | + .byte 0x9 /* DW_AT_location */ |
| 90 | + .byte 0x3 /* DW_OP_addr */ |
| 91 | + .quad f |
| 92 | + .uleb128 0xa /* (DIE (0x97) DW_TAG_pointer_type) */ |
| 93 | + .byte 0x8 /* DW_AT_byte_size */ |
| 94 | + .4byte 0x1d /* DW_AT_type */ |
| 95 | + .byte 0 /* end of children of DIE 0xb */ |
| 96 | + .section .debug_abbrev,"",@progbits |
| 97 | +.Ldebug_abbrev0: |
| 98 | + .uleb128 0x1 /* (abbrev code) */ |
| 99 | + .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */ |
| 100 | + .byte 0x1 /* DW_children_yes */ |
| 101 | + .uleb128 0x25 /* (DW_AT_producer) */ |
| 102 | + .uleb128 0xe /* (DW_FORM_strp) */ |
| 103 | + .uleb128 0x13 /* (DW_AT_language) */ |
| 104 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 105 | + .uleb128 0x3 /* (DW_AT_name) */ |
| 106 | + .uleb128 0xe /* (DW_FORM_strp) */ |
| 107 | + .uleb128 0x1b /* (DW_AT_comp_dir) */ |
| 108 | + .uleb128 0xe /* (DW_FORM_strp) */ |
| 109 | + .uleb128 0x10 /* (DW_AT_stmt_list) */ |
| 110 | + .uleb128 0x6 /* (DW_FORM_data4) */ |
| 111 | + .byte 0 |
| 112 | + .byte 0 |
| 113 | + .uleb128 0x2 /* (abbrev code) */ |
| 114 | + .uleb128 0x13 /* (TAG: DW_TAG_structure_type) */ |
| 115 | + .byte 0x1 /* DW_children_yes */ |
| 116 | + .uleb128 0x3 /* (DW_AT_name) */ |
| 117 | + .uleb128 0x8 /* (DW_FORM_string) */ |
| 118 | + .uleb128 0xb /* (DW_AT_byte_size) */ |
| 119 | + .uleb128 0x6 /* (DW_FORM_data4) */ |
| 120 | + .uleb128 0x3a /* (DW_AT_decl_file) */ |
| 121 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 122 | + .uleb128 0x3b /* (DW_AT_decl_line) */ |
| 123 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 124 | + .uleb128 0x1 /* (DW_AT_sibling) */ |
| 125 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 126 | + .byte 0 |
| 127 | + .byte 0 |
| 128 | + .uleb128 0x3 /* (abbrev code) */ |
| 129 | + .uleb128 0xd /* (TAG: DW_TAG_member) */ |
| 130 | + .byte 0 /* DW_children_no */ |
| 131 | + .uleb128 0x3 /* (DW_AT_name) */ |
| 132 | + .uleb128 0x8 /* (DW_FORM_string) */ |
| 133 | + .uleb128 0x3a /* (DW_AT_decl_file) */ |
| 134 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 135 | + .uleb128 0x3b /* (DW_AT_decl_line) */ |
| 136 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 137 | + .uleb128 0x49 /* (DW_AT_type) */ |
| 138 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 139 | + .uleb128 0x38 /* (DW_AT_data_member_location) */ |
| 140 | + .uleb128 0xa /* (DW_FORM_block1) */ |
| 141 | + .byte 0 |
| 142 | + .byte 0 |
| 143 | + .uleb128 0x4 /* (abbrev code) */ |
| 144 | + .uleb128 0xd /* (TAG: DW_TAG_member) */ |
| 145 | + .byte 0 /* DW_children_no */ |
| 146 | + .uleb128 0x3 /* (DW_AT_name) */ |
| 147 | + .uleb128 0xe /* (DW_FORM_strp) */ |
| 148 | + .uleb128 0x3a /* (DW_AT_decl_file) */ |
| 149 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 150 | + .uleb128 0x3b /* (DW_AT_decl_line) */ |
| 151 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 152 | + .uleb128 0x49 /* (DW_AT_type) */ |
| 153 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 154 | + .uleb128 0x38 /* (DW_AT_data_member_location) */ |
| 155 | + .uleb128 0xa /* (DW_FORM_block1) */ |
| 156 | + .byte 0 |
| 157 | + .byte 0 |
| 158 | + .uleb128 0x5 /* (abbrev code) */ |
| 159 | + .uleb128 0x1 /* (TAG: DW_TAG_array_type) */ |
| 160 | + .byte 0x1 /* DW_children_yes */ |
| 161 | + .uleb128 0x49 /* (DW_AT_type) */ |
| 162 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 163 | + .uleb128 0x1 /* (DW_AT_sibling) */ |
| 164 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 165 | + .byte 0 |
| 166 | + .byte 0 |
| 167 | + .uleb128 0x6 /* (abbrev code) */ |
| 168 | + .uleb128 0x21 /* (TAG: DW_TAG_subrange_type) */ |
| 169 | + .byte 0 /* DW_children_no */ |
| 170 | + .uleb128 0x49 /* (DW_AT_type) */ |
| 171 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 172 | + .uleb128 0x2f /* (DW_AT_upper_bound) */ |
| 173 | + .uleb128 0x7 /* (DW_FORM_data8) */ |
| 174 | + .byte 0 |
| 175 | + .byte 0 |
| 176 | + .uleb128 0x7 /* (abbrev code) */ |
| 177 | + .uleb128 0x24 /* (TAG: DW_TAG_base_type) */ |
| 178 | + .byte 0 /* DW_children_no */ |
| 179 | + .uleb128 0xb /* (DW_AT_byte_size) */ |
| 180 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 181 | + .uleb128 0x3e /* (DW_AT_encoding) */ |
| 182 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 183 | + .uleb128 0x3 /* (DW_AT_name) */ |
| 184 | + .uleb128 0xe /* (DW_FORM_strp) */ |
| 185 | + .byte 0 |
| 186 | + .byte 0 |
| 187 | + .uleb128 0x8 /* (abbrev code) */ |
| 188 | + .uleb128 0x21 /* (TAG: DW_TAG_subrange_type) */ |
| 189 | + .byte 0 /* DW_children_no */ |
| 190 | + .uleb128 0x49 /* (DW_AT_type) */ |
| 191 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 192 | + .uleb128 0x2f /* (DW_AT_upper_bound) */ |
| 193 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 194 | + .byte 0 |
| 195 | + .byte 0 |
| 196 | + .uleb128 0x9 /* (abbrev code) */ |
| 197 | + .uleb128 0x34 /* (TAG: DW_TAG_variable) */ |
| 198 | + .byte 0 /* DW_children_no */ |
| 199 | + .uleb128 0x3 /* (DW_AT_name) */ |
| 200 | + .uleb128 0x8 /* (DW_FORM_string) */ |
| 201 | + .uleb128 0x3a /* (DW_AT_decl_file) */ |
| 202 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 203 | + .uleb128 0x3b /* (DW_AT_decl_line) */ |
| 204 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 205 | + .uleb128 0x49 /* (DW_AT_type) */ |
| 206 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 207 | + .uleb128 0x3f /* (DW_AT_external) */ |
| 208 | + .uleb128 0xc /* (DW_FORM_flag) */ |
| 209 | + .uleb128 0x2 /* (DW_AT_location) */ |
| 210 | + .uleb128 0xa /* (DW_FORM_block1) */ |
| 211 | + .byte 0 |
| 212 | + .byte 0 |
| 213 | + .uleb128 0xa /* (abbrev code) */ |
| 214 | + .uleb128 0xf /* (TAG: DW_TAG_pointer_type) */ |
| 215 | + .byte 0 /* DW_children_no */ |
| 216 | + .uleb128 0xb /* (DW_AT_byte_size) */ |
| 217 | + .uleb128 0xb /* (DW_FORM_data1) */ |
| 218 | + .uleb128 0x49 /* (DW_AT_type) */ |
| 219 | + .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 220 | + .byte 0 |
| 221 | + .byte 0 |
| 222 | + .byte 0 |
| 223 | + .section .debug_aranges,"",@progbits |
| 224 | + .4byte 0x1c /* Length of Address Ranges Info */ |
| 225 | + .2byte 0x2 /* DWARF Version */ |
| 226 | + .4byte .Ldebug_info0 /* Offset of Compilation Unit Info */ |
| 227 | + .byte 0x8 /* Size of Address */ |
| 228 | + .byte 0 /* Size of Segment Descriptor */ |
| 229 | + .2byte 0 /* Pad to 16 byte boundary */ |
| 230 | + .2byte 0 |
| 231 | + .quad 0 |
| 232 | + .quad 0 |
| 233 | + .section .debug_line,"",@progbits |
| 234 | +.Ldebug_line0: |
| 235 | + .section .debug_str,"MS",@progbits,1 |
| 236 | +.LASF4: |
| 237 | + .string "gdb.base/longest-types-64bit.c" |
| 238 | +.LASF3: |
| 239 | + .string "GNU C 4.7.3 20121109 (prerelease)" |
| 240 | +.LASF0: |
| 241 | + .string "buf2" |
| 242 | +.LASF1: |
| 243 | + .string "sizetype" |
| 244 | +.LASF5: |
| 245 | + .string "" |
| 246 | +.LASF2: |
| 247 | + .string "char" |
| 248 | + .ident "GCC: (GNU) 4.7.3 20121109 (prerelease)" |
| 249 | + .section .note.GNU-stack,"",@progbits |
0 commit comments