PR28149, debug info with wrong file association
[binutils-gdb.git] / gas / testsuite / gas / i386 / dwarf4-line-1.d
1 #as: -gdwarf-4
2 #readelf: -wl
3 #name: DWARF4 .debug_line 1
4
5 Raw dump of debug contents of section \.z?debug_line:
6
7 Offset: 0x0
8 Length: .*
9 DWARF Version: 4
10 Prologue Length: .*
11 Minimum Instruction Length: 1
12 Maximum Ops per Instruction: 1
13 Initial value of 'is_stmt': 1
14 Line Base: -5
15 Line Range: 14
16 Opcode Base: 13
17
18 Opcodes:
19 Opcode 1 has 0 args
20 Opcode 2 has 1 arg
21 Opcode 3 has 1 arg
22 Opcode 4 has 1 arg
23 Opcode 5 has 1 arg
24 Opcode 6 has 0 args
25 Opcode 7 has 0 args
26 Opcode 8 has 0 args
27 Opcode 9 has 1 arg
28 Opcode 10 has 0 args
29 Opcode 11 has 0 args
30 Opcode 12 has 1 arg
31
32 The Directory Table \(offset 0x.*\):
33 1 .*/gas/testsuite/gas/i386
34
35 The File Name Table \(offset 0x.*\):
36 Entry Dir Time Size Name
37 1 0 0 0 foo.c
38 2 0 0 0 foo.h
39 3 1 0 0 dwarf4-line-1.s
40
41 Line Number Statements:
42 \[0x.*\] Set File Name to entry 2 in the File Name Table
43 \[0x.*\] Extended opcode 2: set Address to 0x0
44 \[0x.*\] Advance Line by 81 to 82
45 \[0x.*\] Copy
46 \[0x.*\] Set File Name to entry 3 in the File Name Table
47 \[0x.*\] Advance Line by -73 to 9
48 \[0x.*\] Special opcode 19: advance Address by 1 to 0x1 and Line by 0 to 9
49 \[0x.*\] Advance PC by 3 to 0x4
50 \[0x.*\] Extended opcode 1: End of Sequence
51
52