X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fhppab-nat.c;h=42fe316606d70c9d06191381e32b7d27292801f6;hb=25286543da71d927d59a7479e7e1bd0a1b9e1321;hp=f86bfd0725019cab43b14bff4e5b578d95462dca;hpb=3481ad9a11c96e070c8c29ae19bb2269a7fb7584;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/hppab-nat.c b/gdb/hppab-nat.c index f86bfd0725..42fe316606 100644 --- a/gdb/hppab-nat.c +++ b/gdb/hppab-nat.c @@ -255,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; { @@ -271,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");