| OLD | NEW |
| 1 /* This testcase is part of GDB, the GNU debugger. | 1 /* This testcase is part of GDB, the GNU debugger. |
| 2 | 2 |
| 3 Copyright 2010-2012 Free Software Foundation, Inc. | 3 Copyright 2010-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This program is free software; you can redistribute it and/or modify | 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 | 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 | 7 the Free Software Foundation; either version 3 of the License, or |
| 8 (at your option) any later version. | 8 (at your option) any later version. |
| 9 | 9 |
| 10 This program is distributed in the hope that it will be useful, | 10 This program is distributed in the hope that it will be useful, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 .globl c | 49 .globl c |
| 50 .align 4 | 50 .align 4 |
| 51 .type c, @object | 51 .type c, @object |
| 52 .size c, 8 | 52 .size c, 8 |
| 53 c: | 53 c: |
| 54 .zero 8 | 54 .zero 8 |
| 55 .text | 55 .text |
| 56 .Letext0: | 56 .Letext0: |
| 57 .file 1 "gdb.dwarf2/member-ptr-forwardref.cc" | 57 .file 1 "gdb.dwarf2/member-ptr-forwardref.cc" |
| 58 .section .debug_info | 58 .section .debug_info |
| 59 » .long» 0xa9» /* Length of Compilation Unit Info */ | 59 » .4byte» 0xa9» /* Length of Compilation Unit Info */ |
| 60 .2byte 0x3 /* DWARF version number */ | 60 .2byte 0x3 /* DWARF version number */ |
| 61 » .long» .Ldebug_abbrev0»/* Offset Into Abbrev. Section */ | 61 » .4byte» .Ldebug_abbrev0»/* Offset Into Abbrev. Section */ |
| 62 .byte 0x4 /* Pointer Size (in bytes) */ | 62 .byte 0x4 /* Pointer Size (in bytes) */ |
| 63 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */ | 63 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */ |
| 64 » .long» .LASF2» /* DW_AT_producer: "GNU C++ 4.4.2 20091222 (Red Hat 4.4.
2-20)" */ | 64 » .4byte» .LASF2» /* DW_AT_producer: "GNU C++ 4.4.2 20091222 (Red Hat 4.4.
2-20)" */ |
| 65 .byte 0x4 /* DW_AT_language */ | 65 .byte 0x4 /* DW_AT_language */ |
| 66 » .long» .LASF3» /* DW_AT_name: "gdb.dwarf2/member-ptr-forwardref.cc" */ | 66 » .4byte» .LASF3» /* DW_AT_name: "gdb.dwarf2/member-ptr-forwardref.cc" */ |
| 67 » .long» .LASF4» /* DW_AT_comp_dir: "gdb/testsuite" */ | 67 » .4byte» .LASF4» /* DW_AT_comp_dir: "gdb/testsuite" */ |
| 68 » .long» .Ltext0»/* DW_AT_low_pc */ | 68 » .4byte» .Ltext0»/* DW_AT_low_pc */ |
| 69 » .long» .Letext0» /* DW_AT_high_pc */ | 69 » .4byte» .Letext0» /* DW_AT_high_pc */ |
| 70 » .long» .Ldebug_line0» /* DW_AT_stmt_list */ | 70 » .4byte» .Ldebug_line0» /* DW_AT_stmt_list */ |
| 71 .uleb128 0x2 /* (DIE (0x25) DW_TAG_typedef) */ | 71 .uleb128 0x2 /* (DIE (0x25) DW_TAG_typedef) */ |
| 72 » .long» .LASF5» /* DW_AT_name: "fp_t" */ | 72 » .4byte» .LASF5» /* DW_AT_name: "fp_t" */ |
| 73 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ | 73 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ |
| 74 .byte 0x13 /* DW_AT_decl_line */ | 74 .byte 0x13 /* DW_AT_decl_line */ |
| 75 » .long» 0x30» /* DW_AT_type */ | 75 » .4byte» 0x30» /* DW_AT_type */ |
| 76 .uleb128 0x3 /* (DIE (0x30) DW_TAG_structure_type) */ | 76 .uleb128 0x3 /* (DIE (0x30) DW_TAG_structure_type) */ |
| 77 .byte 0x8 /* DW_AT_byte_size */ | 77 .byte 0x8 /* DW_AT_byte_size */ |
| 78 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ | 78 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ |
| 79 .byte 0x13 /* DW_AT_decl_line */ | 79 .byte 0x13 /* DW_AT_decl_line */ |
| 80 » .long» 0x51» /* DW_AT_sibling */ | 80 » .4byte» 0x51» /* DW_AT_sibling */ |
| 81 .uleb128 0x4 /* (DIE (0x38) DW_TAG_member) */ | 81 .uleb128 0x4 /* (DIE (0x38) DW_TAG_member) */ |
| 82 » .long» .LASF0» /* DW_AT_name: "__pfn" */ | 82 » .4byte» .LASF0» /* DW_AT_name: "__pfn" */ |
| 83 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ | 83 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ |
| 84 .byte 0x13 /* DW_AT_decl_line */ | 84 .byte 0x13 /* DW_AT_decl_line */ |
| 85 » .long» 0x85» /* DW_AT_type */ | 85 » .4byte» 0x85» /* DW_AT_type */ |
| 86 .sleb128 0 /* DW_AT_data_member_location */ | 86 .sleb128 0 /* DW_AT_data_member_location */ |
| 87 .uleb128 0x4 /* (DIE (0x44) DW_TAG_member) */ | 87 .uleb128 0x4 /* (DIE (0x44) DW_TAG_member) */ |
| 88 » .long» .LASF1» /* DW_AT_name: "__delta" */ | 88 » .4byte» .LASF1» /* DW_AT_name: "__delta" */ |
| 89 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ | 89 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ |
| 90 .byte 0x13 /* DW_AT_decl_line */ | 90 .byte 0x13 /* DW_AT_decl_line */ |
| 91 » .long» 0x61» /* DW_AT_type */ | 91 » .4byte» 0x61» /* DW_AT_type */ |
| 92 .sleb128 4 /* DW_AT_data_member_location */ | 92 .sleb128 4 /* DW_AT_data_member_location */ |
| 93 .byte 0x0 /* end of children of DIE 0x30 */ | 93 .byte 0x0 /* end of children of DIE 0x30 */ |
| 94 .uleb128 0x5 /* (DIE (0x51) DW_TAG_subroutine_type) */ | 94 .uleb128 0x5 /* (DIE (0x51) DW_TAG_subroutine_type) */ |
| 95 » .long» 0x61» /* DW_AT_type */ | 95 » .4byte» 0x61» /* DW_AT_type */ |
| 96 » .long» 0x61» /* DW_AT_sibling */ | 96 » .4byte» 0x61» /* DW_AT_sibling */ |
| 97 .uleb128 0x6 /* (DIE (0x5a) DW_TAG_formal_parameter) */ | 97 .uleb128 0x6 /* (DIE (0x5a) DW_TAG_formal_parameter) */ |
| 98 » .long» 0x68» /* DW_AT_type */ | 98 » .4byte» 0x68» /* DW_AT_type */ |
| 99 .byte 0x1 /* DW_AT_artificial */ | 99 .byte 0x1 /* DW_AT_artificial */ |
| 100 .byte 0x0 /* end of children of DIE 0x51 */ | 100 .byte 0x0 /* end of children of DIE 0x51 */ |
| 101 .uleb128 0x7 /* (DIE (0x61) DW_TAG_base_type) */ | 101 .uleb128 0x7 /* (DIE (0x61) DW_TAG_base_type) */ |
| 102 .byte 0x4 /* DW_AT_byte_size */ | 102 .byte 0x4 /* DW_AT_byte_size */ |
| 103 .byte 0x5 /* DW_AT_encoding */ | 103 .byte 0x5 /* DW_AT_encoding */ |
| 104 .ascii "int\0" /* DW_AT_name */ | 104 .ascii "int\0" /* DW_AT_name */ |
| 105 .uleb128 0x8 /* (DIE (0x68) DW_TAG_pointer_type) */ | 105 .uleb128 0x8 /* (DIE (0x68) DW_TAG_pointer_type) */ |
| 106 .byte 0x4 /* DW_AT_byte_size */ | 106 .byte 0x4 /* DW_AT_byte_size */ |
| 107 » .long» 0x6e» /* DW_AT_type */ | 107 » .4byte» 0x6e» /* DW_AT_type */ |
| 108 .uleb128 0x9 /* (DIE (0x6e) DW_TAG_structure_type) */ | 108 .uleb128 0x9 /* (DIE (0x6e) DW_TAG_structure_type) */ |
| 109 .ascii "C\0" /* DW_AT_name */ | 109 .ascii "C\0" /* DW_AT_name */ |
| 110 .byte 0x8 /* DW_AT_byte_size */ | 110 .byte 0x8 /* DW_AT_byte_size */ |
| 111 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ | 111 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ |
| 112 .byte 0x16 /* DW_AT_decl_line */ | 112 .byte 0x16 /* DW_AT_decl_line */ |
| 113 » .long» 0x85» /* DW_AT_sibling */ | 113 » .4byte» 0x85» /* DW_AT_sibling */ |
| 114 .uleb128 0xa /* (DIE (0x78) DW_TAG_member) */ | 114 .uleb128 0xa /* (DIE (0x78) DW_TAG_member) */ |
| 115 .ascii "fp\0" /* DW_AT_name */ | 115 .ascii "fp\0" /* DW_AT_name */ |
| 116 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ | 116 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ |
| 117 .byte 0x17 /* DW_AT_decl_line */ | 117 .byte 0x17 /* DW_AT_decl_line */ |
| 118 » .long» 0x30» /* DW_AT_type */ | 118 » .4byte» 0x30» /* DW_AT_type */ |
| 119 .sleb128 0 /* DW_AT_data_member_location */ | 119 .sleb128 0 /* DW_AT_data_member_location */ |
| 120 .byte 0x3 /* DW_AT_accessibility */ | 120 .byte 0x3 /* DW_AT_accessibility */ |
| 121 .byte 0x0 /* end of children of DIE 0x6e */ | 121 .byte 0x0 /* end of children of DIE 0x6e */ |
| 122 .uleb128 0x8 /* (DIE (0x85) DW_TAG_pointer_type) */ | 122 .uleb128 0x8 /* (DIE (0x85) DW_TAG_pointer_type) */ |
| 123 .byte 0x4 /* DW_AT_byte_size */ | 123 .byte 0x4 /* DW_AT_byte_size */ |
| 124 » .long» 0x51» /* DW_AT_type */ | 124 » .4byte» 0x51» /* DW_AT_type */ |
| 125 .uleb128 0xb /* (DIE (0x8b) DW_TAG_variable) */ | 125 .uleb128 0xb /* (DIE (0x8b) DW_TAG_variable) */ |
| 126 .ascii "fp\0" /* DW_AT_name */ | 126 .ascii "fp\0" /* DW_AT_name */ |
| 127 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ | 127 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ |
| 128 .byte 0x14 /* DW_AT_decl_line */ | 128 .byte 0x14 /* DW_AT_decl_line */ |
| 129 » .long» 0x25» /* DW_AT_type */ | 129 » .4byte» 0x25» /* DW_AT_type */ |
| 130 .byte 0x1 /* DW_AT_external */ | 130 .byte 0x1 /* DW_AT_external */ |
| 131 .byte 0x5 /* DW_AT_location */ | 131 .byte 0x5 /* DW_AT_location */ |
| 132 .byte 0x3 /* DW_OP_addr */ | 132 .byte 0x3 /* DW_OP_addr */ |
| 133 » .long» fp | 133 » .4byte» fp |
| 134 .uleb128 0xb /* (DIE (0x9c) DW_TAG_variable) */ | 134 .uleb128 0xb /* (DIE (0x9c) DW_TAG_variable) */ |
| 135 .ascii "c\0" /* DW_AT_name */ | 135 .ascii "c\0" /* DW_AT_name */ |
| 136 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ | 136 .byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc)
*/ |
| 137 .byte 0x18 /* DW_AT_decl_line */ | 137 .byte 0x18 /* DW_AT_decl_line */ |
| 138 » .long» 0x6e» /* DW_AT_type */ | 138 » .4byte» 0x6e» /* DW_AT_type */ |
| 139 .byte 0x1 /* DW_AT_external */ | 139 .byte 0x1 /* DW_AT_external */ |
| 140 .byte 0x5 /* DW_AT_location */ | 140 .byte 0x5 /* DW_AT_location */ |
| 141 .byte 0x3 /* DW_OP_addr */ | 141 .byte 0x3 /* DW_OP_addr */ |
| 142 » .long» c | 142 » .4byte» c |
| 143 .byte 0x0 /* end of children of DIE 0xb */ | 143 .byte 0x0 /* end of children of DIE 0xb */ |
| 144 .section .debug_abbrev | 144 .section .debug_abbrev |
| 145 .uleb128 0x1 /* (abbrev code) */ | 145 .uleb128 0x1 /* (abbrev code) */ |
| 146 .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */ | 146 .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */ |
| 147 .byte 0x1 /* DW_children_yes */ | 147 .byte 0x1 /* DW_children_yes */ |
| 148 .uleb128 0x25 /* (DW_AT_producer) */ | 148 .uleb128 0x25 /* (DW_AT_producer) */ |
| 149 .uleb128 0xe /* (DW_FORM_strp) */ | 149 .uleb128 0xe /* (DW_FORM_strp) */ |
| 150 .uleb128 0x13 /* (DW_AT_language) */ | 150 .uleb128 0x13 /* (DW_AT_language) */ |
| 151 .uleb128 0xb /* (DW_FORM_data1) */ | 151 .uleb128 0xb /* (DW_FORM_data1) */ |
| 152 .uleb128 0x3 /* (DW_AT_name) */ | 152 .uleb128 0x3 /* (DW_AT_name) */ |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 .uleb128 0x49 /* (DW_AT_type) */ | 284 .uleb128 0x49 /* (DW_AT_type) */ |
| 285 .uleb128 0x13 /* (DW_FORM_ref4) */ | 285 .uleb128 0x13 /* (DW_FORM_ref4) */ |
| 286 .uleb128 0x3f /* (DW_AT_external) */ | 286 .uleb128 0x3f /* (DW_AT_external) */ |
| 287 .uleb128 0xc /* (DW_FORM_flag) */ | 287 .uleb128 0xc /* (DW_FORM_flag) */ |
| 288 .uleb128 0x2 /* (DW_AT_location) */ | 288 .uleb128 0x2 /* (DW_AT_location) */ |
| 289 .uleb128 0xa /* (DW_FORM_block1) */ | 289 .uleb128 0xa /* (DW_FORM_block1) */ |
| 290 .byte 0x0 | 290 .byte 0x0 |
| 291 .byte 0x0 | 291 .byte 0x0 |
| 292 .byte 0x0 | 292 .byte 0x0 |
| 293 .section .debug_pubnames,"",@progbits | 293 .section .debug_pubnames,"",@progbits |
| 294 » .long» 0x1b» /* Length of Public Names Info */ | 294 » .4byte» 0x1b» /* Length of Public Names Info */ |
| 295 .2byte 0x2 /* DWARF Version */ | 295 .2byte 0x2 /* DWARF Version */ |
| 296 » .long» .Ldebug_info0» /* Offset of Compilation Unit Info */ | 296 » .4byte» .Ldebug_info0» /* Offset of Compilation Unit Info */ |
| 297 » .long» 0xad» /* Compilation Unit Length */ | 297 » .4byte» 0xad» /* Compilation Unit Length */ |
| 298 » .long» 0x8b» /* DIE offset */ | 298 » .4byte» 0x8b» /* DIE offset */ |
| 299 .ascii "fp\0" /* external name */ | 299 .ascii "fp\0" /* external name */ |
| 300 » .long» 0x9c» /* DIE offset */ | 300 » .4byte» 0x9c» /* DIE offset */ |
| 301 .ascii "c\0" /* external name */ | 301 .ascii "c\0" /* external name */ |
| 302 » .long» 0x0 | 302 » .4byte» 0x0 |
| 303 .section .debug_pubtypes,"",@progbits | 303 .section .debug_pubtypes,"",@progbits |
| 304 » .long» 0x1d» /* Length of Public Type Names Info */ | 304 » .4byte» 0x1d» /* Length of Public Type Names Info */ |
| 305 .2byte 0x2 /* DWARF Version */ | 305 .2byte 0x2 /* DWARF Version */ |
| 306 » .long» .Ldebug_info0» /* Offset of Compilation Unit Info */ | 306 » .4byte» .Ldebug_info0» /* Offset of Compilation Unit Info */ |
| 307 » .long» 0xad» /* Compilation Unit Length */ | 307 » .4byte» 0xad» /* Compilation Unit Length */ |
| 308 » .long» 0x25» /* DIE offset */ | 308 » .4byte» 0x25» /* DIE offset */ |
| 309 .ascii "fp_t\0" /* external name */ | 309 .ascii "fp_t\0" /* external name */ |
| 310 » .long» 0x6e» /* DIE offset */ | 310 » .4byte» 0x6e» /* DIE offset */ |
| 311 .ascii "C\0" /* external name */ | 311 .ascii "C\0" /* external name */ |
| 312 » .long» 0x0 | 312 » .4byte» 0x0 |
| 313 .section .debug_str,"MS",@progbits,1 | 313 .section .debug_str,"MS",@progbits,1 |
| 314 .LASF5: | 314 .LASF5: |
| 315 .string "fp_t" | 315 .string "fp_t" |
| 316 .LASF2: | 316 .LASF2: |
| 317 .string "GNU C++ 4.4.2 20091222 (Red Hat 4.4.2-20)" | 317 .string "GNU C++ 4.4.2 20091222 (Red Hat 4.4.2-20)" |
| 318 .LASF0: | 318 .LASF0: |
| 319 .string "__pfn" | 319 .string "__pfn" |
| 320 .LASF4: | 320 .LASF4: |
| 321 .string "gdb/testsuite" | 321 .string "gdb/testsuite" |
| 322 .LASF3: | 322 .LASF3: |
| 323 .string "gdb.dwarf2/member-ptr-forwardref.cc" | 323 .string "gdb.dwarf2/member-ptr-forwardref.cc" |
| 324 .LASF1: | 324 .LASF1: |
| 325 .string "__delta" | 325 .string "__delta" |
| 326 .ident "GCC: (GNU) 4.4.2 20091222 (Red Hat 4.4.2-20)" | 326 .ident "GCC: (GNU) 4.4.2 20091222 (Red Hat 4.4.2-20)" |
| 327 .section .note.GNU-stack,"",@progbits | 327 .section .note.GNU-stack,"",@progbits |
| OLD | NEW |