* hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
authorJim Kingdon <jkingdon@engr.sgi.com>
Wed, 18 Aug 1993 02:33:00 +0000 (02:33 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Wed, 18 Aug 1993 02:33:00 +0000 (02:33 +0000)
argument, instead of using inferior_pid.

gdb/hppah-nat.c

index 6b37166068436caf181ea69575d9e48b9bc12ccf..f771696b27f98e320595c225044160274d8cbad8 100644 (file)
@@ -217,9 +217,9 @@ child_resume (pid, step, signal)
      written a new PC value to the child.)  */
 
   if (step)
-    ptrace (PT_SINGLE, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal, 0);
+    ptrace (PT_SINGLE, pid, (PTRACE_ARG3_TYPE) 1, signal, 0);
   else
-    ptrace (PT_CONTIN, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal, 0);
+    ptrace (PT_CONTIN, pid, (PTRACE_ARG3_TYPE) 1, signal, 0);
 
   if (errno)
     perror_with_name ("ptrace");
This page took 0.025138 seconds and 4 git commands to generate.