Change minimal_symbol_reader to store objfile
[deliverable/binutils-gdb.git] / gdb / mipsread.c
index dff1cb19333c8c044947df4be5c1a9da8591914a..256b26222c893c9993211aab43eae03462ebdbcc 100644 (file)
@@ -70,7 +70,7 @@ mipscoff_symfile_read (struct objfile *objfile, int symfile_flags)
 {
   bfd *abfd = objfile->obfd;
 
-  minimal_symbol_reader reader;
+  minimal_symbol_reader reader (objfile);
 
   /* Now that the executable file is positioned at symbol table,
      process it and define symbols accordingly.  */
@@ -89,7 +89,7 @@ mipscoff_symfile_read (struct objfile *objfile, int symfile_flags)
   /* Install any minimal symbols that have been collected as the current
      minimal symbols for this objfile.  */
 
-  reader.install (objfile);
+  reader.install ();
 }
 
 /* Perform any local cleanups required when we are done with a
This page took 0.0257 seconds and 4 git commands to generate.