mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 11:33:45 +08:00
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:
parent
87767c29b5
commit
ddf9f25876
@ -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>
|
2003-05-07 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
|
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
|
||||||
|
@ -4878,8 +4878,8 @@ dwarf_decode_lines (struct line_header *lh, char *comp_dir, bfd *abfd,
|
|||||||
* lh->minimum_instruction_length;
|
* lh->minimum_instruction_length;
|
||||||
line += lh->line_base + (adj_opcode % lh->line_range);
|
line += lh->line_base + (adj_opcode % lh->line_range);
|
||||||
/* append row to matrix using current values */
|
/* append row to matrix using current values */
|
||||||
address = check_cu_functions (address);
|
record_line (current_subfile, line,
|
||||||
record_line (current_subfile, line, address);
|
check_cu_functions (address));
|
||||||
basic_block = 1;
|
basic_block = 1;
|
||||||
}
|
}
|
||||||
else switch (op_code)
|
else switch (op_code)
|
||||||
@ -4925,8 +4925,8 @@ dwarf_decode_lines (struct line_header *lh, char *comp_dir, bfd *abfd,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case DW_LNS_copy:
|
case DW_LNS_copy:
|
||||||
address = check_cu_functions (address);
|
record_line (current_subfile, line,
|
||||||
record_line (current_subfile, line, address);
|
check_cu_functions (address));
|
||||||
basic_block = 0;
|
basic_block = 0;
|
||||||
break;
|
break;
|
||||||
case DW_LNS_advance_pc:
|
case DW_LNS_advance_pc:
|
||||||
|
Loading…
Reference in New Issue
Block a user