mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-28 12:24:04 +08:00
* hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
argument, instead of using inferior_pid.
This commit is contained in:
@ -217,9 +217,9 @@ child_resume (pid, step, signal)
|
|||||||
written a new PC value to the child.) */
|
written a new PC value to the child.) */
|
||||||
|
|
||||||
if (step)
|
if (step)
|
||||||
ptrace (PT_SINGLE, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal, 0);
|
ptrace (PT_SINGLE, pid, (PTRACE_ARG3_TYPE) 1, signal, 0);
|
||||||
else
|
else
|
||||||
ptrace (PT_CONTIN, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal, 0);
|
ptrace (PT_CONTIN, pid, (PTRACE_ARG3_TYPE) 1, signal, 0);
|
||||||
|
|
||||||
if (errno)
|
if (errno)
|
||||||
perror_with_name ("ptrace");
|
perror_with_name ("ptrace");
|
||||||
|
Reference in New Issue
Block a user