use remote-utils facilities for baud_rate
[deliverable/binutils-gdb.git] / gdb / remote-adapt.c
index cfc94e7ec6ae5fd59fe5d6ec6d64477a14ac055c..ff07b4b6d7e3436014f798e5bb7afa7d88d48850 100644 (file)
@@ -675,8 +675,8 @@ adapt_detach (args,from_tty)
 /* Tell the remote machine to resume.  */
 
 void
-adapt_resume (step, sig)
-     int step, sig;
+adapt_resume (pid, step, sig)
+     int pid, step, sig;
 {
   if (step)    
     {
@@ -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();
This page took 0.023558 seconds and 4 git commands to generate.