use remote-utils facilities for baud_rate
[deliverable/binutils-gdb.git] / gdb / xcoffread.c
index 960d2d894ab4035ea30082af6fe6802dd93723ed..c6a138aeaaabb91e3dabff58d2234c7154e29907 100644 (file)
@@ -1627,7 +1627,7 @@ process_xcoff_symbol (cs, objfile)
         /* FIXME: I believe this is to avoid a Sun-specific hack somewhere.
           Needs more investigation.  */
 
-       if (*name == ':' || (pp = (char *) index (name, ':')) == NULL)
+       if (*name == ':' || (pp = (char *) strchr(name, ':')) == NULL)
          return NULL;
 
        ++pp;
This page took 0.023683 seconds and 4 git commands to generate.