Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
[deliverable/binutils-gdb.git] / gdb / hppab-nat.c
index a77195ae721bd07cca6fd76787eaa8a41afa4815..42fe316606d70c9d06191381e32b7d27292801f6 100644 (file)
@@ -239,7 +239,6 @@ store_inferior_registers (regno)
              char *msg = alloca (strlen (err) + 128);
              sprintf (msg, "writing register %s: %s", reg_names[regno], err);
              warning (msg);
-             errors_found = 1;
            }
          regaddr += sizeof(int);
        }
@@ -256,12 +255,13 @@ store_inferior_registers (regno)
   return;
 }
 
-/* Resume execution of the inferior process.
+/* Resume execution of process PID.
    If STEP is nonzero, single-step it.
    If SIGNAL is nonzero, give it that signal.  */
 
 void
-child_resume (step, signal)
+child_resume (pid, step, signal)
+     int pid;
      int step;
      int signal;
 {
@@ -272,9 +272,9 @@ child_resume (step, signal)
      written a new PC value to the child.)  */
 
   if (step)
-    ptrace (PT_STEP, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal);
+    ptrace (PT_STEP, pid, (PTRACE_ARG3_TYPE) 1, signal);
   else
-    ptrace (PT_CONTINUE, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal);
+    ptrace (PT_CONTINUE, pid, (PTRACE_ARG3_TYPE) 1, signal);
 
   if (errno)
     perror_with_name ("ptrace");
This page took 0.02431 seconds and 4 git commands to generate.