aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-07 14:29:34 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-07 14:29:34 +0000
commit73c1e0a129954a6abedb1071816c769eae068ae9 (patch)
tree69c235d24a46c2d9891716cad8e31e3b1b684b63 /gdb/coffread.c
parent1d3056ac0dcfc402d7b5c3887f9598ea4aca85a4 (diff)
downloadgdb-73c1e0a129954a6abedb1071816c769eae068ae9.zip
gdb-73c1e0a129954a6abedb1071816c769eae068ae9.tar.gz
gdb-73c1e0a129954a6abedb1071816c769eae068ae9.tar.bz2
2004-05-07 Andrew Cagney <cagney@redhat.com>
* objfiles.h (struct entry_info): Delete unused fields deprecated_entry_file_lowpc and deprecated_entry_file_highpc. * objfiles.c (init_entry_point_info, objfile_relocate): Update. * mipsread.c (mipscoff_symfile_read): Update. * mdebugread.c (parse_partial_symbols): Update. * dwarfread.c (read_file_scope): Update. * dwarf2read.c (read_file_scope): Update. * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update. * coffread.c (complete_symtab): Update.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 81e78c5..474282c 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -385,13 +385,6 @@ complete_symtab (char *name, CORE_ADDR start_addr, unsigned int size)
last_source_file = savestring (name, strlen (name));
current_source_start_addr = start_addr;
current_source_end_addr = start_addr + size;
-
- if (current_objfile->ei.entry_point >= current_source_start_addr &&
- current_objfile->ei.entry_point < current_source_end_addr)
- {
- current_objfile->ei.deprecated_entry_file_lowpc = current_source_start_addr;
- current_objfile->ei.deprecated_entry_file_highpc = current_source_end_addr;
- }
}
/* Finish the symbol definitions for one main source file,