debug/dwarf: Fix handling of LineSetFile.

From-SVN: r187579
This commit is contained in:
Ian Lance Taylor 2012-05-16 05:36:46 +00:00
parent d5e6b20d50
commit 2113253770
1 changed files with 1 additions and 1 deletions

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