* serial.h (SERIAL_SET_TTY_STATE): Comment return value.
[deliverable/binutils-gdb.git] / gdb / minsyms.c
index b45b4f4a3db3ec3418892307dff2568a0a8c1f4d..8f1992c9374d7d16dfda10aaee61cc76193e70e8 100644 (file)
@@ -292,21 +292,25 @@ init_minimal_symbol_collection ()
 }
 
 void
-prim_record_minimal_symbol (name, address, ms_type)
+prim_record_minimal_symbol (name, address, ms_type, objfile)
      const char *name;
      CORE_ADDR address;
      enum minimal_symbol_type ms_type;
+     struct objfile *objfile;
 {
-  prim_record_minimal_symbol (name, address, ms_type, NULL, -1);
+  prim_record_minimal_symbol_and_info (name, address, ms_type,
+                                      NULL, -1, objfile);
 }
 
 void
-prim_record_minimal_symbol_and_info (name, address, ms_type, info, section)
+prim_record_minimal_symbol_and_info (name, address, ms_type, info, section,
+                                    objfile)
      const char *name;
      CORE_ADDR address;
      enum minimal_symbol_type ms_type;
      char *info;
      int section;
+     struct objfile *objfile;
 {
   register struct msym_bunch *new;
   register struct minimal_symbol *msymbol;
@@ -324,7 +328,7 @@ prim_record_minimal_symbol_and_info (name, address, ms_type, info, section)
        return;
 
       {
-       char *tempstring = name;
+       const char *tempstring = name;
        if (tempstring[0] == bfd_get_symbol_leading_char (objfile->obfd))
          ++tempstring;
        if (STREQN (tempstring, "__gnu_compiled", 14))
This page took 0.023382 seconds and 4 git commands to generate.