summaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:41:49 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:41:49 +0000
commitb306ad247c9ffa1a60a1e74786c1489441303cba (patch)
tree725121d0f40bc63875ddf4344a6730a05a7a430a /gdb/buildsym.c
parent36bdb09e90dec18c488a22c9cc4b3a384c1a263b (diff)
downloadgdb-b306ad247c9ffa1a60a1e74786c1489441303cba.tar.gz
* 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.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c2
1 files changed, 0 insertions, 2 deletions
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