dw2-cp-infcall-ref-static.S revision 1.7
1/* This testcase is part of GDB, the GNU debugger. 2 3 Copyright 2010-2017 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/* Debug information */ 19 20 .section .debug_info 21.Lcu1_begin: 22 /* CU header */ 23 .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */ 24.Lcu1_start: 25 .2byte 2 /* DWARF Version */ 26 .4byte .Labbrev1_begin /* Offset into abbrev section */ 27 .byte 4 /* Pointer size */ 28 29 /* CU die */ 30 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */ 31 .4byte cu_text_start /* DW_AT_low_pc */ 32 .4byte cu_text_end /* DW_AT_high_pc */ 33 .ascii "file1.txt\0" /* DW_AT_name */ 34 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */ 35 .byte 4 /* DW_AT_language (DW_LANG_C_plus_plus) */ 36 37.Ltype_class: 38 .uleb128 3 /* Abbrev: DW_TAG_class_type */ 39 .ascii "C\0" /* DW_AT_name */ 40 41 .uleb128 4 /* Abbrev: DW_TAG_member */ 42 .ascii "s\0" /* DW_AT_name */ 43 .4byte .Ltype_class-.Lcu1_begin /* DW_AT_type */ 44 .byte 1 /* DW_AT_declaration */ 45 .byte 1 /* DW_AT_external */ 46 47 .byte 0 /* End of children of DW_TAG_class_type */ 48 49 .uleb128 5 /* Abbrev: DW_TAG_subprogram */ 50 .ascii "f\0" /* DW_AT_name */ 51 .4byte .Ltype_class-.Lcu1_begin /* DW_AT_type */ 52 .4byte f_start /* DW_AT_low_pc */ 53 .4byte f_end /* DW_AT_high_pc */ 54 55 .byte 0 /* End of children of CU */ 56 57.Lcu1_end: 58 59/* Abbrev table */ 60 .section .debug_abbrev 61.Labbrev1_begin: 62 .uleb128 1 /* Abbrev code */ 63 .uleb128 0x11 /* DW_TAG_compile_unit */ 64 .byte 1 /* has_children */ 65 .uleb128 0x11 /* DW_AT_low_pc */ 66 .uleb128 0x1 /* DW_FORM_addr */ 67 .uleb128 0x12 /* DW_AT_high_pc */ 68 .uleb128 0x1 /* DW_FORM_addr */ 69 .uleb128 0x3 /* DW_AT_name */ 70 .uleb128 0x8 /* DW_FORM_string */ 71 .uleb128 0x25 /* DW_AT_producer */ 72 .uleb128 0x8 /* DW_FORM_string */ 73 .uleb128 0x13 /* DW_AT_language */ 74 .uleb128 0xb /* DW_FORM_data1 */ 75 .byte 0x0 /* Terminator */ 76 .byte 0x0 /* Terminator */ 77 78 .uleb128 3 /* Abbrev code */ 79 .uleb128 0x2 /* DW_TAG_class_type */ 80 .byte 1 /* has_children */ 81 .uleb128 0x3 /* DW_AT_name */ 82 .uleb128 0x8 /* DW_FORM_string */ 83 .byte 0x0 /* Terminator */ 84 .byte 0x0 /* Terminator */ 85 86 .uleb128 4 /* Abbrev code */ 87 .uleb128 0xd /* DW_TAG_member */ 88 .byte 0 /* has_children */ 89 .uleb128 0x3 /* DW_AT_name */ 90 .uleb128 0x8 /* DW_FORM_string */ 91 .uleb128 0x49 /* DW_AT_type */ 92 .uleb128 0x13 /* DW_FORM_ref4 */ 93 .uleb128 0x3c /* DW_AT_declaration */ 94 .uleb128 0xc /* DW_FORM_flag */ 95 .uleb128 0x3f /* DW_AT_external */ 96 .uleb128 0xc /* DW_FORM_flag */ 97 .byte 0x0 /* Terminator */ 98 .byte 0x0 /* Terminator */ 99 100 .uleb128 5 /* Abbrev code */ 101 .uleb128 0x2e /* DW_TAG_subprogram */ 102 .byte 0 /* has_children */ 103 .uleb128 0x3 /* DW_AT_name */ 104 .uleb128 0x8 /* DW_FORM_string */ 105 .uleb128 0x49 /* DW_AT_type */ 106 .uleb128 0x13 /* DW_FORM_ref4 */ 107 .uleb128 0x11 /* DW_AT_low_pc */ 108 .uleb128 0x1 /* DW_FORM_addr */ 109 .uleb128 0x12 /* DW_AT_high_pc */ 110 .uleb128 0x1 /* DW_FORM_addr */ 111 .byte 0x0 /* Terminator */ 112 .byte 0x0 /* Terminator */ 113 114 .byte 0x0 /* Terminator */ 115 .byte 0x0 /* Terminator */ 116