aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-26 08:02:23 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-26 08:02:23 +0000
commitd47d5315c8a7ac2df73d47c96d9345c573e41563 (patch)
tree59bcc9a767761c0cc4c90b530fed323eafb36dfc /gdb/coffread.c
parent2ce38c6d29f82ccd2bcc90ece2e66456685b9099 (diff)
downloadfsf-binutils-gdb-d47d5315c8a7ac2df73d47c96d9345c573e41563.zip
fsf-binutils-gdb-d47d5315c8a7ac2df73d47c96d9345c573e41563.tar.gz
fsf-binutils-gdb-d47d5315c8a7ac2df73d47c96d9345c573e41563.tar.bz2
* symfile.c (syms_from_bfd): New routine.
(add_symbol_file): Call it to do the real work. (syms_from_bfd): Initialize entry_point before calling symfile_init. * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c: Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index d579413..b4ff6d2 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -96,10 +96,6 @@ static CORE_ADDR first_object_file_end;
static FILE *nlist_stream_global;
static int nlist_nsyms_global;
-/* The entry point (starting address) of the file, if it is an executable. */
-
-static CORE_ADDR entry_point;
-
/* The index in the symbol table of the last coff symbol that was processed. */
static int symnum;