debug/dwarf: Fix handling of LineSetFile.

From-SVN: r187578
This commit is contained in:
Ian Lance Taylor 2012-05-16 05:36:31 +00:00
parent 2c686dfe81
commit c39cbb22b0

View file

@ -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())