1/* This testcase is part of GDB, the GNU debugger.
2
3   Copyright 2014-2020 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// gcc -o gdb.base/compile-constvar.S -dA -S -g gdb.base/compile-constvar.c
19
20	.file	"compile-constvar.c"
21	.file 1 "gdb.base/compile-constvar.c"
22	.section	.debug_info,"",@progbits
23.Ldebug_info0:
24	.long	.Lend-.Lstart	# Length of Compilation Unit Info
25.Lstart:
26	.value	0x4	# DWARF version number
27	.long	.Ldebug_abbrev0	# Offset Into Abbrev. Section
28	.byte	0x8	# Pointer Size (in bytes)
29	.uleb128 0x1	# (DIE (0xb) DW_TAG_compile_unit)
30	.long	.LASF0	# DW_AT_producer: "GNU C 4.8.2 20131212 (Red Hat 4.8.2-7) -mtune=generic -march=x86-64 -g"
31	.byte	0x1	# DW_AT_language
32	.long	.LASF1	# DW_AT_name: "gdb.base/compile-constvar.c"
33	.long	.LASF2	# DW_AT_comp_dir: "/home/jkratoch/redhat/gdb-gdbjit/gdb/testsuite"
34	.uleb128 0x2	# (DIE (0x1d) DW_TAG_variable)
35	.long	.LASF3	# DW_AT_name: "constvar"
36	.long	.Linttype-.Ldebug_info0	# DW_AT_type
37			# DW_AT_external
38	.byte	0x3	# DW_AT_const_value
39.Linttype:
40	.uleb128 0x3	# (DIE (0x32) DW_TAG_base_type)
41	.byte	0x4	# DW_AT_byte_size
42	.byte	0x5	# DW_AT_encoding
43	.ascii "int\0"	# DW_AT_name
44	.byte	0	# end of children of DIE 0xb
45.Lend:
46	.section	.debug_abbrev,"",@progbits
47.Ldebug_abbrev0:
48	.uleb128 0x1	# (abbrev code)
49	.uleb128 0x11	# (TAG: DW_TAG_compile_unit)
50	.byte	0x1	# DW_children_yes
51	.uleb128 0x25	# (DW_AT_producer)
52	.uleb128 0xe	# (DW_FORM_strp)
53	.uleb128 0x13	# (DW_AT_language)
54	.uleb128 0xb	# (DW_FORM_data1)
55	.uleb128 0x3	# (DW_AT_name)
56	.uleb128 0xe	# (DW_FORM_strp)
57	.uleb128 0x1b	# (DW_AT_comp_dir)
58	.uleb128 0xe	# (DW_FORM_strp)
59	.byte	0
60	.byte	0
61	.uleb128 0x2	# (abbrev code)
62	.uleb128 0x34	# (TAG: DW_TAG_variable)
63	.byte	0	# DW_children_no
64	.uleb128 0x3	# (DW_AT_name)
65	.uleb128 0xe	# (DW_FORM_strp)
66	.uleb128 0x49	# (DW_AT_type)
67	.uleb128 0x13	# (DW_FORM_ref4)
68	.uleb128 0x3f	# (DW_AT_external)
69	.uleb128 0x19	# (DW_FORM_flag_present)
70	.uleb128 0x1c	# (DW_AT_const_value)
71	.uleb128 0xb	# (DW_FORM_data1)
72	.byte	0
73	.byte	0
74	.uleb128 0x3	# (abbrev code)
75	.uleb128 0x24	# (TAG: DW_TAG_base_type)
76	.byte	0	# DW_children_no
77	.uleb128 0xb	# (DW_AT_byte_size)
78	.uleb128 0xb	# (DW_FORM_data1)
79	.uleb128 0x3e	# (DW_AT_encoding)
80	.uleb128 0xb	# (DW_FORM_data1)
81	.uleb128 0x3	# (DW_AT_name)
82	.uleb128 0x8	# (DW_FORM_string)
83	.byte	0
84	.byte	0
85	.byte	0
86	.section	.debug_str,"MS",@progbits,1
87.LASF1:
88	.string	"gdb.base/compile-constvar.c"
89.LASF3:
90	.string	"constvar"
91.LASF2:
92	.string	""
93.LASF0:
94	.string	"GNU C 4.8.2 20131212 (Red Hat 4.8.2-7) -mtune=generic -march=x86-64 -g"
95	.ident	"GCC: (GNU) 4.8.2 20131212 (Red Hat 4.8.2-7)"
96