138032Speter/* Copyright (C) 2013-2020 Free Software Foundation, Inc. 238032Speter 364562Sgshapiro This file is part of GDB. 464562Sgshapiro 538032Speter This program is free software; you can redistribute it and/or modify 638032Speter it under the terms of the GNU General Public License as published by 738032Speter the Free Software Foundation; either version 3 of the License, or 838032Speter (at your option) any later version. 938032Speter 1038032Speter This program is distributed in the hope that it will be useful, 1138032Speter but WITHOUT ANY WARRANTY; without even the implied warranty of 1238032Speter MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1338032Speter GNU General Public License for more details. 1438032Speter 1538032Speter You should have received a copy of the GNU General Public License 1664562Sgshapiro along with this program. If not, see <http://www.gnu.org/licenses/>. */ 1738032Speter 1838032Speter .file "py-linetable.c" 1938032Speter .text 2038032Speter.Ltext0: 2138032Speter .globl foo 2238032Speter .type foo, @function 2338032Speterfoo: 2438032Speter.LFB0: 2538032Speter .file 1 "./py-linetable.c" 26 .loc 1 20 0 27 .cfi_startproc 28 pushq %rbp 29 .cfi_def_cfa_offset 16 30 .cfi_offset 6, -16 31 movq %rsp, %rbp 32 .cfi_def_cfa_register 6 33 movl %edi, -4(%rbp) 34 movl %esi, -8(%rbp) 35 .loc 1 21 0 36 movl -4(%rbp), %eax 37 cmpl -8(%rbp), %eax 38 jne .L2 39 .loc 1 22 0 40 movl $1, %eax 41 jmp .L3 42.L2: 43 .loc 1 24 0 44 movl $0, %eax 45.L3: 46 .loc 1 25 0 47 popq %rbp 48 .cfi_def_cfa 7, 8 49 ret 50 .cfi_endproc 51.LFE0: 52 .size foo, .-foo 53 .globl bar 54 .type bar, @function 55bar: 56.LFB1: 57 .loc 1 28 0 58 .cfi_startproc 59 pushq %rbp 60 .cfi_def_cfa_offset 16 61 .cfi_offset 6, -16 62 movq %rsp, %rbp 63 .cfi_def_cfa_register 6 64 movl %edi, -4(%rbp) 65 movl %esi, -8(%rbp) 66 .loc 1 29 0 67 cmpl $0, -8(%rbp) 68 jne .L5 69 .loc 1 30 0 70 movl $1, %eax 71 jmp .L6 72.L5: 73 .loc 1 32 0 74 movl $0, %eax 75.L6: 76 .loc 1 33 0 77 popq %rbp 78 .cfi_def_cfa 7, 8 79 ret 80 .cfi_endproc 81.LFE1: 82 .size bar, .-bar 83 .globl main 84 .type main, @function 85main: 86.LFB2: 87 .loc 1 37 0 88 .cfi_startproc 89 pushq %rbp 90 .cfi_def_cfa_offset 16 91 .cfi_offset 6, -16 92 movq %rsp, %rbp 93 .cfi_def_cfa_register 6 94 subq $16, %rsp 95 .loc 1 39 0 96 movl $5, %esi 97 movl $5, %edi 98 call foo 99 testl %eax, %eax 100 je .L8 101 .loc 1 39 0 is_stmt 0 discriminator 1 102 movl $0, %esi 103 movl $5, %edi 104 call bar 105 testl %eax, %eax 106 je .L8 107 .loc 1 40 0 is_stmt 1 108 movl $0, %eax 109 jmp .L9 110.L8: 111 .loc 1 42 0 112 movl $0, -4(%rbp) 113 jmp .L10 114.L11: 115 .loc 1 44 0 116 addl $1, -4(%rbp) 117.L10: 118 .loc 1 42 0 discriminator 1 119 cmpl $499, -4(%rbp) 120 jle .L11 121 .loc 1 45 0 122 movl $0, %eax 123.L9: 124 .loc 1 46 0 125 leave 126 .cfi_def_cfa 7, 8 127 ret 128 .cfi_endproc 129.LFE2: 130 .size main, .-main 131.Letext0: 132 .section .debug_info,"",@progbits 133.Ldebug_info0: 134 .long 0xcf 135 .value 0x4 136 .long .Ldebug_abbrev0 137 .byte 0x8 138 .uleb128 0x1 139 .long .LASF0 140 .byte 0x1 141 .long .LASF1 142 .long .LASF2 143 .quad .Ltext0 144 .quad .Letext0 145 .long .Ldebug_line0 146 .uleb128 0x2 147 .string "foo" 148 .byte 0x1 149 .byte 0x13 150 .long 0x67 151 .quad .LFB0 152 .quad .LFE0 153 .uleb128 0x1 154 .byte 0x9c 155 .long 0x67 156 .uleb128 0x3 157 .string "a" 158 .byte 0x1 159 .byte 0x13 160 .long 0x67 161 .uleb128 0x2 162 .byte 0x91 163 .sleb128 -20 164 .uleb128 0x3 165 .string "b" 166 .byte 0x1 167 .byte 0x13 168 .long 0x67 169 .uleb128 0x2 170 .byte 0x91 171 .sleb128 -24 172 .byte 0 173 .uleb128 0x4 174 .byte 0x4 175 .byte 0x5 176 .string "int" 177 .uleb128 0x2 178 .string "bar" 179 .byte 0x1 180 .byte 0x1b 181 .long 0x67 182 .quad .LFB1 183 .quad .LFE1 184 .uleb128 0x1 185 .byte 0x9c 186 .long 0xa8 187 .uleb128 0x3 188 .string "a" 189 .byte 0x1 190 .byte 0x1b 191 .long 0x67 192 .uleb128 0x2 193 .byte 0x91 194 .sleb128 -20 195 .uleb128 0x3 196 .string "b" 197 .byte 0x1 198 .byte 0x1b 199 .long 0x67 200 .uleb128 0x2 201 .byte 0x91 202 .sleb128 -24 203 .byte 0 204 .uleb128 0x5 205 .long .LASF3 206 .byte 0x1 207 .byte 0x24 208 .long 0x67 209 .quad .LFB2 210 .quad .LFE2 211 .uleb128 0x1 212 .byte 0x9c 213 .uleb128 0x6 214 .string "i" 215 .byte 0x1 216 .byte 0x26 217 .long 0x67 218 .uleb128 0x2 219 .byte 0x91 220 .sleb128 -20 221 .byte 0 222 .byte 0 223 .section .debug_abbrev,"",@progbits 224.Ldebug_abbrev0: 225 .uleb128 0x1 226 .uleb128 0x11 227 .byte 0x1 228 .uleb128 0x25 229 .uleb128 0xe 230 .uleb128 0x13 231 .uleb128 0xb 232 .uleb128 0x3 233 .uleb128 0xe 234 .uleb128 0x1b 235 .uleb128 0xe 236 .uleb128 0x11 237 .uleb128 0x1 238 .uleb128 0x12 239 .uleb128 0x1 240 .uleb128 0x10 241 .uleb128 0x17 242 .byte 0 243 .byte 0 244 .uleb128 0x2 245 .uleb128 0x2e 246 .byte 0x1 247 .uleb128 0x3f 248 .uleb128 0x19 249 .uleb128 0x3 250 .uleb128 0x8 251 .uleb128 0x3a 252 .uleb128 0xb 253 .uleb128 0x3b 254 .uleb128 0xb 255 .uleb128 0x27 256 .uleb128 0x19 257 .uleb128 0x49 258 .uleb128 0x13 259 .uleb128 0x11 260 .uleb128 0x1 261 .uleb128 0x12 262 .uleb128 0x1 263 .uleb128 0x40 264 .uleb128 0x18 265 .uleb128 0x2117 266 .uleb128 0x19 267 .uleb128 0x1 268 .uleb128 0x13 269 .byte 0 270 .byte 0 271 .uleb128 0x3 272 .uleb128 0x5 273 .byte 0 274 .uleb128 0x3 275 .uleb128 0x8 276 .uleb128 0x3a 277 .uleb128 0xb 278 .uleb128 0x3b 279 .uleb128 0xb 280 .uleb128 0x49 281 .uleb128 0x13 282 .uleb128 0x2 283 .uleb128 0x18 284 .byte 0 285 .byte 0 286 .uleb128 0x4 287 .uleb128 0x24 288 .byte 0 289 .uleb128 0xb 290 .uleb128 0xb 291 .uleb128 0x3e 292 .uleb128 0xb 293 .uleb128 0x3 294 .uleb128 0x8 295 .byte 0 296 .byte 0 297 .uleb128 0x5 298 .uleb128 0x2e 299 .byte 0x1 300 .uleb128 0x3f 301 .uleb128 0x19 302 .uleb128 0x3 303 .uleb128 0xe 304 .uleb128 0x3a 305 .uleb128 0xb 306 .uleb128 0x3b 307 .uleb128 0xb 308 .uleb128 0x27 309 .uleb128 0x19 310 .uleb128 0x49 311 .uleb128 0x13 312 .uleb128 0x11 313 .uleb128 0x1 314 .uleb128 0x12 315 .uleb128 0x1 316 .uleb128 0x40 317 .uleb128 0x18 318 .uleb128 0x2116 319 .uleb128 0x19 320 .byte 0 321 .byte 0 322 .uleb128 0x6 323 .uleb128 0x34 324 .byte 0 325 .uleb128 0x3 326 .uleb128 0x8 327 .uleb128 0x3a 328 .uleb128 0xb 329 .uleb128 0x3b 330 .uleb128 0xb 331 .uleb128 0x49 332 .uleb128 0x13 333 .uleb128 0x2 334 .uleb128 0x18 335 .byte 0 336 .byte 0 337 .byte 0 338 .section .debug_aranges,"",@progbits 339 .long 0x2c 340 .value 0x2 341 .long .Ldebug_info0 342 .byte 0x8 343 .byte 0 344 .value 0 345 .value 0 346 .quad .Ltext0 347 .quad .Letext0-.Ltext0 348 .quad 0 349 .quad 0 350 .section .debug_line,"",@progbits 351.Ldebug_line0: 352 .section .debug_str,"MS",@progbits,1 353.LASF0: 354 .string "GNU C 4.7.2 20121109 (Red Hat 4.7.2-8) -mtune=generic -march=x86-64 -g -O0" 355.LASF1: 356 .string "./py-linetable.c" 357.LASF3: 358 .string "main" 359.LASF2: 360 .string "gdb/testsuite/gdb.python" 361 .ident "GCC: (GNU) 4.7.2 20121109 (Red Hat 4.7.2-8)" 362 .section .note.GNU-stack,"",@progbits 363