1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2011-2019 Free Software Foundation, Inc.
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.
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.
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/>. */
23 .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
25 .2byte 2 /* DWARF Version */
26 .4byte .Labbrev1_begin /* Offset into abbrev section */
27 .byte 4 /* Pointer size */
30 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */
31 .ascii "dw2-var-zero-addr.c\0" /* DW_AT_name */
32 .ascii "GNU C 4.3.2\0" /* DW_AT_producer */
33 .byte 1 /* DW_AT_language (C) */
36 .uleb128 2 /* Abbrev: DW_TAG_base_type */
37 .ascii "int\0" /* DW_AT_name */
38 .byte 4 /* DW_AT_byte_size */
39 .byte 5 /* DW_AT_encoding */
41 .uleb128 3 /* Abbrev: DW_TAG_variable (location) */
42 .ascii "var\0" /* DW_AT_name */
43 .byte 2f - 1f /* DW_AT_location */
44 1: .byte 3 /* DW_OP_addr */
46 2: .4byte .Ltype_uchar-.Lcu1_begin /* DW_AT_type */
48 .byte 0 /* End of children of CU */
53 .section .debug_abbrev
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 .byte 0x0 /* Terminator */
65 .byte 0x0 /* Terminator */
67 .uleb128 2 /* Abbrev code */
68 .uleb128 0x24 /* DW_TAG_base_type */
69 .byte 0 /* has_children */
70 .uleb128 0x3 /* DW_AT_name */
71 .uleb128 0x8 /* DW_FORM_string */
72 .uleb128 0xb /* DW_AT_byte_size */
73 .uleb128 0xb /* DW_FORM_data1 */
74 .uleb128 0x3e /* DW_AT_encoding */
75 .uleb128 0xb /* DW_FORM_data1 */
76 .byte 0x0 /* Terminator */
77 .byte 0x0 /* Terminator */
79 .uleb128 3 /* Abbrev code (location) */
80 .uleb128 0x34 /* DW_TAG_variable */
81 .byte 0 /* has_children */
82 .uleb128 0x3 /* DW_AT_name */
83 .uleb128 0x8 /* DW_FORM_string */
84 .uleb128 0x2 /* DW_AT_location */
85 .uleb128 0xa /* DW_FORM_block1 */
86 .uleb128 0x49 /* DW_AT_type */
87 .uleb128 0x13 /* DW_FORM_ref4 */
88 .byte 0x0 /* Terminator */
89 .byte 0x0 /* Terminator */
91 .byte 0x0 /* Terminator */
92 .byte 0x0 /* Terminator */