From b306ad247c9ffa1a60a1e74786c1489441303cba Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 17 Jun 2009 18:41:49 +0000 Subject: * 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. --- gdb/buildsym.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/buildsym.c') diff --git a/gdb/buildsym.c b/gdb/buildsym.c index e0d8f0da7dd..e7c48fed4a2 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -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 -- cgit v1.2.1