* remote.c (remote_write_bytes): Add default case to switch
[deliverable/binutils-gdb.git] / gdb / remote-utils.c
index 795ae39c03851cfd1fa2eb09e00a08b73bff91d4..e723a5612e1f117c72fc3f02750d6f3dd2b9c816 100644 (file)
@@ -160,8 +160,6 @@ gr_open (char *args, int from_tty, struct gr_settings *gr)
 
   gr_settings = gr;
 
-  gr_set_dcache (dcache_init (gr->readfunc, gr->writefunc));
-
   if (sr_get_desc () != NULL)
     gr_close (0);
 
@@ -259,7 +257,7 @@ sr_expect (char *string)
 {
   char *p = string;
 
-  immediate_quit = 1;
+  immediate_quit++;
   while (1)
     {
       if (sr_readchar () == *p)
@@ -267,7 +265,7 @@ sr_expect (char *string)
          p++;
          if (*p == '\0')
            {
-             immediate_quit = 0;
+             immediate_quit--;
              return;
            }
        }
@@ -497,9 +495,7 @@ gr_create_inferior (char *execfile, char *args, char **env)
    pass non-matching data on.  */
 
 int
-gr_multi_scan (list, passthrough)
-     char *list[];
-     int passthrough;
+gr_multi_scan (char *list[], int passthrough)
 {
   char *swallowed = NULL;      /* holding area */
   char *swallowed_p = swallowed;       /* Current position in swallowed.  */
This page took 0.023598 seconds and 4 git commands to generate.