From: Jim Kingdon Date: Wed, 18 Aug 1993 02:33:00 +0000 (+0000) Subject: * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=202eca5ed48ec65462427b084c819e38ae9075a7;p=binutils-gdb.git * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as argument, instead of using inferior_pid. --- diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c index 6b371660684..f771696b27f 100644 --- a/gdb/hppah-nat.c +++ b/gdb/hppah-nat.c @@ -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");