]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.dwarf2/dw2-case-insensitive-debug.S
daily update
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-case-insensitive-debug.S
1 /* This testcase is part of GDB, the GNU debugger.
2
3 Copyright 2011 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 .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 8 /* DW_AT_language (DW_LANG_Fortran90) */
32 .4byte FUNC_lang /* DW_AT_low_pc */
33 .4byte main /* DW_AT_high_pc */
34
35 .uleb128 3 /* Abbrev: DW_TAG_subprogram */
36 .byte 1 /* DW_AT_external */
37 .ascii "FUNC_lang\0" /* DW_AT_name */
38 .4byte FUNC_lang /* DW_AT_low_pc */
39 .4byte main /* DW_AT_high_pc */
40 .byte 1 /* DW_AT_prototyped */
41 .4byte .Ltype - .Lcu1_begin /* DW_AT_type */
42
43 .Ltype:
44 .uleb128 0x5 /* Abbrev: DW_TAG_base_type */
45 .byte 0x4 /* DW_AT_byte_size */
46 .byte 0x5 /* DW_AT_encoding */
47 .ascii "foo\0" /* DW_AT_name */
48
49 .byte 0 /* End of children of CU */
50 .Lcu1_end:
51
52 /* Abbrev table */
53 .section .debug_abbrev
54 .Labbrev1_begin:
55 .uleb128 1 /* Abbrev code */
56 .uleb128 0x11 /* DW_TAG_compile_unit */
57 .byte 1 /* has_children */
58 .uleb128 0x3 /* DW_AT_name */
59 .uleb128 0x8 /* DW_FORM_string */
60 .uleb128 0x25 /* DW_AT_producer */
61 .uleb128 0x8 /* DW_FORM_string */
62 .uleb128 0x13 /* DW_AT_language */
63 .uleb128 0xb /* DW_FORM_data1 */
64 .uleb128 0x11 /* DW_AT_low_pc */
65 .uleb128 0x1 /* DW_FORM_addr */
66 .uleb128 0x12 /* DW_AT_high_pc */
67 .uleb128 0x1 /* DW_FORM_addr */
68 .byte 0x0 /* Terminator */
69 .byte 0x0 /* Terminator */
70
71 .uleb128 3 /* Abbrev code */
72 .uleb128 0x2e /* DW_TAG_subprogram */
73 .byte 0 /* has_children */
74 .uleb128 0x3f /* DW_AT_external */
75 .uleb128 0xc /* DW_FORM_flag */
76 .uleb128 0x3 /* DW_AT_name */
77 .uleb128 0x8 /* DW_FORM_string */
78 .uleb128 0x11 /* DW_AT_low_pc */
79 .uleb128 0x1 /* DW_FORM_addr */
80 .uleb128 0x12 /* DW_AT_high_pc */
81 .uleb128 0x1 /* DW_FORM_addr */
82 .uleb128 0x27 /* DW_AT_prototyped */
83 .uleb128 0xc /* DW_FORM_flag */
84 .uleb128 0x49 /* DW_AT_type */
85 .uleb128 0x13 /* DW_FORM_ref4 */
86 .byte 0x0 /* Terminator */
87 .byte 0x0 /* Terminator */
88
89 .uleb128 0x5 /* Abbrev code */
90 .uleb128 0x24 /* DW_TAG_base_type */
91 .byte 0x0 /* DW_children_no */
92 .uleb128 0xb /* DW_AT_byte_size */
93 .uleb128 0xb /* DW_FORM_data1 */
94 .uleb128 0x3e /* DW_AT_encoding */
95 .uleb128 0xb /* DW_FORM_data1 */
96 .uleb128 0x3 /* DW_AT_name */
97 .uleb128 0x8 /* DW_FORM_string */
98 .byte 0x0 /* Terminator */
99 .byte 0x0 /* Terminator */
100
101 .byte 0x0 /* Terminator */
102 .byte 0x0 /* Terminator */