1/* This testcase is part of GDB, the GNU debugger. 2 3 Copyright 2010-2016 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 1 /* DW_AT_language (C) */ 36 37.Ltype_int: 38 .uleb128 3 /* Abbrev: DW_TAG_base_type */ 39 .ascii "int\0" /* DW_AT_name */ 40 .byte 4 /* DW_AT_byte_size */ 41 .byte 5 /* DW_AT_encoding */ 42 43 .uleb128 4 /* Abbrev: DW_TAG_subprogram */ 44 .ascii "main\0" /* DW_AT_name */ 45 .4byte cu_text_start /* DW_AT_low_pc */ 46 .4byte cu_text_end /* DW_AT_high_pc */ 47 .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */ 48 .byte 1 /* DW_AT_external */ 49 .byte 1 /* DW_AT_prototyped */ 50 51 .uleb128 6 /* Abbrev: DW_TAG_formal_parameter */ 52 .ascii "mainparam\0" /* DW_AT_name */ 53 54 .uleb128 5 /* Abbrev: DW_TAG_inlined_subroutine */ 55 .ascii "func\0" /* DW_AT_name */ 56 .4byte block_start /* DW_AT_low_pc */ 57 .4byte block_end /* DW_AT_high_pc */ 58 .byte 3 /* DW_AT_inline (DW_INL_declared_inlined) */ 59 .byte 1 /* DW_AT_prototyped */ 60 .byte 0 /* DW_AT_call_file */ 61 .byte 1 /* DW_AT_call_line */ 62 63 .uleb128 6 /* Abbrev: DW_TAG_formal_parameter */ 64 .ascii "funcparam\0" /* DW_AT_name */ 65 66 .byte 0 /* End of children of func */ 67 68 .byte 0 /* End of children of main */ 69 70 .byte 0 /* End of children of CU */ 71 72.Lcu1_end: 73 74/* Abbrev table */ 75 .section .debug_abbrev 76.Labbrev1_begin: 77 .uleb128 1 /* Abbrev code */ 78 .uleb128 0x11 /* DW_TAG_compile_unit */ 79 .byte 1 /* has_children */ 80 .uleb128 0x11 /* DW_AT_low_pc */ 81 .uleb128 0x1 /* DW_FORM_addr */ 82 .uleb128 0x12 /* DW_AT_high_pc */ 83 .uleb128 0x1 /* DW_FORM_addr */ 84 .uleb128 0x3 /* DW_AT_name */ 85 .uleb128 0x8 /* DW_FORM_string */ 86 .uleb128 0x25 /* DW_AT_producer */ 87 .uleb128 0x8 /* DW_FORM_string */ 88 .uleb128 0x13 /* DW_AT_language */ 89 .uleb128 0xb /* DW_FORM_data1 */ 90 .byte 0x0 /* Terminator */ 91 .byte 0x0 /* Terminator */ 92 93 .uleb128 3 /* Abbrev code */ 94 .uleb128 0x24 /* DW_TAG_base_type */ 95 .byte 0 /* has_children */ 96 .uleb128 0x3 /* DW_AT_name */ 97 .uleb128 0x8 /* DW_FORM_string */ 98 .uleb128 0xb /* DW_AT_byte_size */ 99 .uleb128 0xb /* DW_FORM_data1 */ 100 .uleb128 0x3e /* DW_AT_encoding */ 101 .uleb128 0xb /* DW_FORM_data1 */ 102 .byte 0x0 /* Terminator */ 103 .byte 0x0 /* Terminator */ 104 105 .uleb128 4 /* Abbrev code */ 106 .uleb128 0x2e /* DW_TAG_subprogram */ 107 .byte 1 /* has_children */ 108 .uleb128 0x3 /* DW_AT_name */ 109 .uleb128 0x8 /* DW_FORM_string */ 110 .uleb128 0x11 /* DW_AT_low_pc */ 111 .uleb128 0x1 /* DW_FORM_addr */ 112 .uleb128 0x12 /* DW_AT_high_pc */ 113 .uleb128 0x1 /* DW_FORM_addr */ 114 .uleb128 0x49 /* DW_AT_type */ 115 .uleb128 0x13 /* DW_FORM_ref4 */ 116 .uleb128 0x3f /* DW_AT_external */ 117 .uleb128 0xc /* DW_FORM_flag */ 118 .uleb128 0x27 /* DW_AT_prototyped */ 119 .uleb128 0xc /* DW_FORM_flag */ 120 .byte 0x0 /* Terminator */ 121 .byte 0x0 /* Terminator */ 122 123 .uleb128 5 /* Abbrev code */ 124 .uleb128 0x1d /* DW_TAG_inlined_subroutine */ 125 .byte 1 /* has_children */ 126 .uleb128 0x3 /* DW_AT_name */ 127 .uleb128 0x8 /* DW_FORM_string */ 128 .uleb128 0x11 /* DW_AT_low_pc */ 129 .uleb128 0x1 /* DW_FORM_addr */ 130 .uleb128 0x12 /* DW_AT_high_pc */ 131 .uleb128 0x1 /* DW_FORM_addr */ 132 .uleb128 0x20 /* DW_AT_inline */ 133 .uleb128 0xb /* DW_FORM_data1 */ 134 .uleb128 0x27 /* DW_AT_prototyped */ 135 .uleb128 0xc /* DW_FORM_flag */ 136 .uleb128 0x58 /* DW_AT_call_file */ 137 .uleb128 0xb /* DW_FORM_data1 */ 138 .uleb128 0x59 /* DW_AT_call_line */ 139 .uleb128 0xb /* DW_FORM_data1 */ 140 .byte 0x0 /* Terminator */ 141 .byte 0x0 /* Terminator */ 142 143 .uleb128 6 /* Abbrev code */ 144 .uleb128 0x05 /* DW_TAG_formal_parameter */ 145 .byte 0 /* has_children */ 146 .uleb128 0x3 /* DW_AT_name */ 147 .uleb128 0x8 /* DW_FORM_string */ 148 .byte 0x0 /* Terminator */ 149 .byte 0x0 /* Terminator */ 150 151 .byte 0x0 /* Terminator */ 152 .byte 0x0 /* Terminator */ 153