aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-01 22:24:34 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-01 22:24:34 +0000
commitc398de0cddd0a2215e9d9c0f563d40aa5f554692 (patch)
tree5218590d120aa12d82b127c3d62cce5adfaad6ee /gdb/xcoffread.c
parent98105ba26f77cb0406c8ea5abe73d3fd9a139794 (diff)
downloadgdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.zip
gdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.tar.gz
gdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.tar.bz2
index -> strchr
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 960d2d8..c6a138a 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -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;