* buildsym.c (record_line): Remove call to gdbarch_addr_bits_remove.

* coffread.c (coff_symtab_read): Call gdbarch_addr_bits_remove before
	calling record_line.
	(enter_linenos): Likewise.
	* dbxread.c (process_one_symbol): Likewise.
	* dwarf2read.c (dwarf_decode_lines): Likewise.
	* mdebugread.c (psymtab_to_symtab_1): Likewise.
	* xcoffread.c (enter_line_range): Likewise.
This commit is contained in:
Ulrich Weigand
2009-06-17 18:41:50 +00:00
parent 505e835dc0
commit fbf6506463
7 changed files with 72 additions and 39 deletions

View File

@@ -731,8 +731,6 @@ record_line (struct subfile *subfile, int line, CORE_ADDR pc)
* sizeof (struct linetable_entry))));
}
pc = gdbarch_addr_bits_remove (current_gdbarch, pc);
/* Normally, we treat lines as unsorted. But the end of sequence
marker is special. We sort line markers at the same PC by line
number, so end of sequence markers (which have line == 0) appear