]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.python/amd64-py-framefilter-invalidarg.S
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.python / amd64-py-framefilter-invalidarg.S
CommitLineData
c75bd3a2
JK
1/* This testcase is part of GDB, the GNU debugger.
2
213516ef 3 Copyright 2014-2023 Free Software Foundation, Inc.
c75bd3a2
JK
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/* This file is compiled from a single line
19 int main (int argc, char **argv) { return 0; }
20 using -g -dA -S -O2 and patched as #if-ed below. */
21
22 .file "py-framefilter-invalidarg.c"
23 .text
24.Ltext0:
25 .globl main
26 .type main, @function
27main:
28.LFB0:
29 .file 1 "py-framefilter-invalidarg.c"
30 # py-framefilter-invalidarg.c:1
31 .loc 1 1 0
32 .cfi_startproc
33# BLOCK 2 seq:0
34# PRED: ENTRY (FALLTHRU)
35 pushq %rbp
36 .cfi_def_cfa_offset 16
37 .cfi_offset 6, -16
38 movq %rsp, %rbp
39 .cfi_def_cfa_register 6
40 movl %edi, -4(%rbp)
41 movq %rsi, -16(%rbp)
42 # py-framefilter-invalidarg.c:2
43 .loc 1 2 0
44 movl $0, %eax
45 # py-framefilter-invalidarg.c:3
46 .loc 1 3 0
47 popq %rbp
48 .cfi_def_cfa 7, 8
49# SUCC: EXIT [100.0%]
50 ret
51 .cfi_endproc
52.LFE0:
53 .size main, .-main
54.Letext0:
55 .section .debug_info,"",@progbits
56.Ldebug_info0:
57 .long .Le - .Ls # Length of Compilation Unit Info
58.Ls:
59 .value 0x4 # DWARF version number
60 .long .Ldebug_abbrev0 # Offset Into Abbrev. Section
61 .byte 0x8 # Pointer Size (in bytes)
62 .uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
63 .long .LASF3 # DW_AT_producer: "GNU C 4.9.1 20140813 (Red Hat 4.9.1-7) -mtune=generic -march=x86-64 -g"
64 .byte 0x1 # DW_AT_language
65 .long .LASF4 # DW_AT_name: "py-framefilter-invalidarg.c"
66 .long .LASF5 # DW_AT_comp_dir: ""
67 .quad .Ltext0 # DW_AT_low_pc
68 .quad .Letext0-.Ltext0 # DW_AT_high_pc
69 .long .Ldebug_line0 # DW_AT_stmt_list
70die2d:
71 .uleb128 0x2 # (DIE (0x2d) DW_TAG_subprogram)
72 # DW_AT_external
73 .long .LASF6 # DW_AT_name: "main"
74 .byte 0x1 # DW_AT_decl_file (py-framefilter-invalidarg.c)
75 .byte 0x1 # DW_AT_decl_line
76 # DW_AT_prototyped
77 .long die6b-.Ldebug_info0 # DW_AT_type
78 .quad .LFB0 # DW_AT_low_pc
79 .quad .LFE0-.LFB0 # DW_AT_high_pc
80 .uleb128 0x1 # DW_AT_frame_base
81 .byte 0x9c # DW_OP_call_frame_cfa
82 # DW_AT_GNU_all_call_sites
83die4e:
84 .uleb128 0x3 # (DIE (0x4e) DW_TAG_formal_parameter)
85 .long .LASF0 # DW_AT_name: "argc"
86 .byte 0x1 # DW_AT_decl_file (py-framefilter-invalidarg.c)
87 .byte 0x1 # DW_AT_decl_line
88 .long die6b-.Ldebug_info0 # DW_AT_type
89#if 0
90 .uleb128 0x2 # DW_AT_location
91 .byte 0x91 # DW_OP_fbreg
92 .sleb128 -20
93#endif
94#if 0
95 .uleb128 1f - 2f # DW_AT_location
962:
97 .byte 0x03 # DW_OP_addr
98 .quad 0
991:
100#endif
101#if 1
102 .uleb128 1f - 2f # DW_AT_location
1032:
104 .byte 0x13 # DW_OP_drop
c75bd3a2
JK
1051:
106#endif
107die5c:
108 .uleb128 0x3 # (DIE (0x5c) DW_TAG_formal_parameter)
109 .long .LASF1 # DW_AT_name: "argv"
110 .byte 0x1 # DW_AT_decl_file (py-framefilter-invalidarg.c)
111 .byte 0x1 # DW_AT_decl_line
112 .long die72-.Ldebug_info0 # DW_AT_type
113 .uleb128 0x2 # DW_AT_location
114 .byte 0x91 # DW_OP_fbreg
115 .sleb128 -32
116 .byte 0 # end of children of DIE 0x2d
117die6b:
118 .uleb128 0x4 # (DIE (0x6b) DW_TAG_base_type)
119 .byte 0x4 # DW_AT_byte_size
120 .byte 0x5 # DW_AT_encoding
121 .ascii "int\0" # DW_AT_name
122die72:
123 .uleb128 0x5 # (DIE (0x72) DW_TAG_pointer_type)
124 .byte 0x8 # DW_AT_byte_size
125 .long die78-.Ldebug_info0 # DW_AT_type
126die78:
127 .uleb128 0x5 # (DIE (0x78) DW_TAG_pointer_type)
128 .byte 0x8 # DW_AT_byte_size
129 .long die7e-.Ldebug_info0 # DW_AT_type
130die7e:
131 .uleb128 0x6 # (DIE (0x7e) DW_TAG_base_type)
132 .byte 0x1 # DW_AT_byte_size
133 .byte 0x6 # DW_AT_encoding
134 .long .LASF2 # DW_AT_name: "char"
135 .byte 0 # end of children of DIE 0xb
136.Le:
137 .section .debug_abbrev,"",@progbits
138.Ldebug_abbrev0:
139 .uleb128 0x1 # (abbrev code)
140 .uleb128 0x11 # (TAG: DW_TAG_compile_unit)
141 .byte 0x1 # DW_children_yes
142 .uleb128 0x25 # (DW_AT_producer)
143 .uleb128 0xe # (DW_FORM_strp)
144 .uleb128 0x13 # (DW_AT_language)
145 .uleb128 0xb # (DW_FORM_data1)
146 .uleb128 0x3 # (DW_AT_name)
147 .uleb128 0xe # (DW_FORM_strp)
148 .uleb128 0x1b # (DW_AT_comp_dir)
149 .uleb128 0xe # (DW_FORM_strp)
150 .uleb128 0x11 # (DW_AT_low_pc)
151 .uleb128 0x1 # (DW_FORM_addr)
152 .uleb128 0x12 # (DW_AT_high_pc)
153 .uleb128 0x7 # (DW_FORM_data8)
154 .uleb128 0x10 # (DW_AT_stmt_list)
155 .uleb128 0x17 # (DW_FORM_sec_offset)
156 .byte 0
157 .byte 0
158 .uleb128 0x2 # (abbrev code)
159 .uleb128 0x2e # (TAG: DW_TAG_subprogram)
160 .byte 0x1 # DW_children_yes
161 .uleb128 0x3f # (DW_AT_external)
162 .uleb128 0x19 # (DW_FORM_flag_present)
163 .uleb128 0x3 # (DW_AT_name)
164 .uleb128 0xe # (DW_FORM_strp)
165 .uleb128 0x3a # (DW_AT_decl_file)
166 .uleb128 0xb # (DW_FORM_data1)
167 .uleb128 0x3b # (DW_AT_decl_line)
168 .uleb128 0xb # (DW_FORM_data1)
169 .uleb128 0x27 # (DW_AT_prototyped)
170 .uleb128 0x19 # (DW_FORM_flag_present)
171 .uleb128 0x49 # (DW_AT_type)
172 .uleb128 0x13 # (DW_FORM_ref4)
173 .uleb128 0x11 # (DW_AT_low_pc)
174 .uleb128 0x1 # (DW_FORM_addr)
175 .uleb128 0x12 # (DW_AT_high_pc)
176 .uleb128 0x7 # (DW_FORM_data8)
177 .uleb128 0x40 # (DW_AT_frame_base)
178 .uleb128 0x18 # (DW_FORM_exprloc)
179 .uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
180 .uleb128 0x19 # (DW_FORM_flag_present)
181 .byte 0
182 .byte 0
183 .uleb128 0x3 # (abbrev code)
184 .uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
185 .byte 0 # DW_children_no
186 .uleb128 0x3 # (DW_AT_name)
187 .uleb128 0xe # (DW_FORM_strp)
188 .uleb128 0x3a # (DW_AT_decl_file)
189 .uleb128 0xb # (DW_FORM_data1)
190 .uleb128 0x3b # (DW_AT_decl_line)
191 .uleb128 0xb # (DW_FORM_data1)
192 .uleb128 0x49 # (DW_AT_type)
193 .uleb128 0x13 # (DW_FORM_ref4)
194 .uleb128 0x2 # (DW_AT_location)
195 .uleb128 0x18 # (DW_FORM_exprloc)
196 .byte 0
197 .byte 0
198 .uleb128 0x4 # (abbrev code)
199 .uleb128 0x24 # (TAG: DW_TAG_base_type)
200 .byte 0 # DW_children_no
201 .uleb128 0xb # (DW_AT_byte_size)
202 .uleb128 0xb # (DW_FORM_data1)
203 .uleb128 0x3e # (DW_AT_encoding)
204 .uleb128 0xb # (DW_FORM_data1)
205 .uleb128 0x3 # (DW_AT_name)
206 .uleb128 0x8 # (DW_FORM_string)
207 .byte 0
208 .byte 0
209 .uleb128 0x5 # (abbrev code)
210 .uleb128 0xf # (TAG: DW_TAG_pointer_type)
211 .byte 0 # DW_children_no
212 .uleb128 0xb # (DW_AT_byte_size)
213 .uleb128 0xb # (DW_FORM_data1)
214 .uleb128 0x49 # (DW_AT_type)
215 .uleb128 0x13 # (DW_FORM_ref4)
216 .byte 0
217 .byte 0
218 .uleb128 0x6 # (abbrev code)
219 .uleb128 0x24 # (TAG: DW_TAG_base_type)
220 .byte 0 # DW_children_no
221 .uleb128 0xb # (DW_AT_byte_size)
222 .uleb128 0xb # (DW_FORM_data1)
223 .uleb128 0x3e # (DW_AT_encoding)
224 .uleb128 0xb # (DW_FORM_data1)
225 .uleb128 0x3 # (DW_AT_name)
226 .uleb128 0xe # (DW_FORM_strp)
227 .byte 0
228 .byte 0
229 .byte 0
230 .section .debug_aranges,"",@progbits
231 .long 0x2c # Length of Address Ranges Info
232 .value 0x2 # DWARF Version
233 .long .Ldebug_info0 # Offset of Compilation Unit Info
234 .byte 0x8 # Size of Address
235 .byte 0 # Size of Segment Descriptor
236 .value 0 # Pad to 16 byte boundary
237 .value 0
238 .quad .Ltext0 # Address
239 .quad .Letext0-.Ltext0 # Length
240 .quad 0
241 .quad 0
242 .section .debug_line,"",@progbits
243.Ldebug_line0:
244 .section .debug_str,"MS",@progbits,1
245.LASF1:
246 .string "argv"
247.LASF4:
248 .string "py-framefilter-invalidarg.c"
249.LASF5:
250 .string ""
251.LASF0:
252 .string "argc"
253.LASF3:
254 .string "GNU C 4.9.1 20140813 (Red Hat 4.9.1-7) -mtune=generic -march=x86-64 -g"
255.LASF6:
256 .string "main"
257.LASF2:
258 .string "char"
259 .ident "GCC: (GNU) 4.9.1 20140813 (Red Hat 4.9.1-7)"
260 .section .note.GNU-stack,"",@progbits