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