From c398de0cddd0a2215e9d9c0f563d40aa5f554692 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Wed, 1 Sep 1993 22:24:34 +0000 Subject: index -> strchr --- gdb/remote-adapt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote-adapt.c') 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(); -- cgit v1.1