aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:41:50 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:41:50 +0000
commitfbf6506463a5de555a76cfcc153d56dc1cb9bf4b (patch)
tree473da227a378fecec794edff816fd85bd901fffe /gdb/buildsym.c
parent505e835dc07557a142853b0f18513b876f7b7625 (diff)
downloadgdb-fbf6506463a5de555a76cfcc153d56dc1cb9bf4b.zip
gdb-fbf6506463a5de555a76cfcc153d56dc1cb9bf4b.tar.gz
gdb-fbf6506463a5de555a76cfcc153d56dc1cb9bf4b.tar.bz2
* 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 e0d8f0d..e7c48fe 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