Phase 1 of the ptid_t changes.
[deliverable/binutils-gdb.git] / gdb / remote-nrom.c
index 49e51c39e4e2818b21d67882a65300f4db5b7ae2..9b6b0477fcb90e51eebfa2ce7452736f5bafcadd 100644 (file)
@@ -1,5 +1,6 @@
 /* Remote debugging with the XLNT Designs, Inc (XDI) NetROM.
-   Copyright 1990, 1991, 1992, 1995 Free Software Foundation, Inc.
+   Copyright 1990, 1991, 1992, 1995, 1998, 1999, 2000
+   Free Software Foundation, Inc.
    Contributed by:
    Roger Moyers 
    XLNT Designs, Inc.
@@ -66,7 +67,7 @@ expect (char *string)
   char *p = string;
   int c;
 
-  immediate_quit = 1;
+  immediate_quit++;
 
   while (1)
     {
@@ -76,8 +77,7 @@ expect (char *string)
        {
          if (*p == '\0')
            {
-             immediate_quit = 0;
-
+             immediate_quit--;
              return 0;
            }
        }
@@ -317,7 +317,6 @@ init_nrom_ops (void)
   nrom_ops.to_thread_alive = 0;
   nrom_ops.to_stop = 0;
   nrom_ops.to_pid_to_exec_file = NULL;
-  nrom_ops.to_core_file_to_sym_file = NULL;
   nrom_ops.to_stratum = download_stratum;
   nrom_ops.DONT_USE = NULL;
   nrom_ops.to_has_all_memory = 1;
@@ -328,7 +327,7 @@ init_nrom_ops (void)
   nrom_ops.to_sections = NULL;
   nrom_ops.to_sections_end = NULL;
   nrom_ops.to_magic = OPS_MAGIC;
-};
+}
 
 void
 _initialize_remote_nrom (void)
This page took 0.024171 seconds and 4 git commands to generate.