daily update
[external/binutils.git] / gdb / testsuite / gdb.dwarf2 / dw2-filename.S
1 /* This testcase is part of GDB, the GNU debugger.
2
3    Copyright 2004, 2007, 2008, 2009, 2010, 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 /* 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         .ascii  "file1.txt\0"                   /* DW_AT_name */
32         .ascii  "GNU C 3.3.3\0"                 /* DW_AT_producer */
33         .byte   1                               /* DW_AT_language (C) */
34
35 .Lcu1_end:
36
37 /* Abbrev table */
38         .section .debug_abbrev
39 .Labbrev1_begin:
40         .uleb128        1                       /* Abbrev code */
41         .uleb128        0x11                    /* DW_TAG_compile_unit */
42         .byte           0                       /* has_children */
43         .uleb128        0x3                     /* DW_AT_name */
44         .uleb128        0x8                     /* DW_FORM_string */
45         .uleb128        0x25                    /* DW_AT_producer */
46         .uleb128        0x8                     /* DW_FORM_string */
47         .uleb128        0x13                    /* DW_AT_language */
48         .uleb128        0xb                     /* DW_FORM_data1 */
49         .byte           0x0                     /* Terminator */
50         .byte           0x0                     /* Terminator */
51
52         .byte           0x0                     /* Terminator */
53         .byte           0x0                     /* Terminator */