X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fmipsread.c;h=d199554f9f74adb5d6b7d853b9e13f0174b26e77;hb=9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763;hp=b425780bbd21957f1115e4e1b886f976b0d1ba95;hpb=0f900f54b53296119cd3386d919f52d0d6ba655e;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/mipsread.c b/gdb/mipsread.c index b425780bbd..d199554f9f 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -1,6 +1,6 @@ /* Read a symbol table in MIPS' format (Third-Eye). - Copyright (C) 1986-2013 Free Software Foundation, Inc. + Copyright (C) 1986-2014 Free Software Foundation, Inc. Contributed by Alessandro Forin (af@cs.cmu.edu) at CMU. Major work by Per Bothner, John Gilmore and Ian Lance Taylor at Cygnus Support. @@ -24,7 +24,7 @@ mdebugread.c. */ #include "defs.h" -#include "gdb_string.h" +#include #include "bfd.h" #include "symtab.h" #include "objfiles.h" @@ -405,7 +405,6 @@ read_alphacoff_dynamic_symtab (struct section_offsets *section_offsets, static const struct sym_fns ecoff_sym_fns = { - bfd_target_ecoff_flavour, mipscoff_new_init, /* init anything gbl to entire symtab */ mipscoff_symfile_init, /* read initial info, setup for sym_read() */ mipscoff_symfile_read, /* read a symbol file into symtab */ @@ -425,5 +424,5 @@ void _initialize_mipsread (void); void _initialize_mipsread (void) { - add_symtab_fns (&ecoff_sym_fns); + add_symtab_fns (bfd_target_ecoff_flavour, &ecoff_sym_fns); }