Index: gdb/dwarf2read.c =================================================================== --- gdb/dwarf2read.c (revision 214360) +++ gdb/dwarf2read.c (working copy) @@ -5178,7 +5178,7 @@ line_ptr = dwarf_line_buffer + offset; /* read in the header */ - lh->total_length = read_initial_length (abfd, line_ptr, NULL, &bytes_read); + lh->total_length = read_initial_length (abfd, line_ptr, &cu->header, &bytes_read); line_ptr += bytes_read; if (line_ptr + lh->total_length > dwarf_line_buffer + dwarf_line_size) {