aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-adapt.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/remote-adapt.c
parent98105ba26f77cb0406c8ea5abe73d3fd9a139794 (diff)
downloadgdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.zip
gdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.tar.gz
gdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.tar.bz2
index -> strchr
Diffstat (limited to 'gdb/remote-adapt.c')
-rw-r--r--gdb/remote-adapt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-adapt.c b/gdb/remote-adapt.c
index 390466d..ff07b4b 100644
--- a/gdb/remote-adapt.c
+++ b/gdb/remote-adapt.c
@@ -1331,7 +1331,7 @@ adapt_com (args, fromtty)
break;
/* Begin commands that take input in the form 'c x,y[,z...]' */
case 'S': /* Set memory or register */
- if (index(args,',')) { /* Assume it is properly formatted */
+ if (strchr(args,',')) { /* Assume it is properly formatted */
write(adapt_desc,args,strlen(args));
write(adapt_desc,"\r",1);
expect_prompt();