2003-05-07 Jeff Johnston <jjohnstn@redhat.com>

* dwarf2read.c (dwarf_decode_lines): Only use output of
        check_cu_functions() when calling record_line().  Do not update
        the current address.
This commit is contained in:
Jeff Johnston 2003-05-07 22:57:30 +00:00
parent 87767c29b5
commit ddf9f25876
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
* dwarf2read.c (dwarf_decode_lines): Only use output of
check_cu_functions() when calling record_line(). Do not update
the current address.
2003-05-07 Andrew Cagney <cagney@redhat.com>
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR

View File

@ -4878,8 +4878,8 @@ dwarf_decode_lines (struct line_header *lh, char *comp_dir, bfd *abfd,
* lh->minimum_instruction_length;
line += lh->line_base + (adj_opcode % lh->line_range);
/* append row to matrix using current values */
address = check_cu_functions (address);
record_line (current_subfile, line, address);
record_line (current_subfile, line,
check_cu_functions (address));
basic_block = 1;
}
else switch (op_code)
@ -4925,8 +4925,8 @@ dwarf_decode_lines (struct line_header *lh, char *comp_dir, bfd *abfd,
}
break;
case DW_LNS_copy:
address = check_cu_functions (address);
record_line (current_subfile, line, address);
record_line (current_subfile, line,
check_cu_functions (address));
basic_block = 0;
break;
case DW_LNS_advance_pc: