debug/dwarf: Fix handling of LineSetFile.
From-SVN: r187578
This commit is contained in:
parent
2c686dfe81
commit
c39cbb22b0
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ func (d *Data) parseLineProgram(u *unit, b *buf, hdr lineHdr, end Offset) {
|
|||
b.error("DWARF file number out of range")
|
||||
return
|
||||
}
|
||||
lineInfo.Filename = hdr.files[i]
|
||||
lineInfo.Filename = hdr.files[i-1]
|
||||
newLineInfo = true
|
||||
case LineSetColumn:
|
||||
lineInfo.Column = int(b.uint())
|
||||
|
|
Loading…
Add table
Reference in a new issue