aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppah-nat.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-18 02:33:00 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-18 02:33:00 +0000
commit202eca5ed48ec65462427b084c819e38ae9075a7 (patch)
tree9450c618b09d7a56151fe7b0a57fbd2e60475709 /gdb/hppah-nat.c
parent6214eb23fdfbbc40b3189124ca5cb6b0926bb923 (diff)
downloadgdb-202eca5ed48ec65462427b084c819e38ae9075a7.zip
gdb-202eca5ed48ec65462427b084c819e38ae9075a7.tar.gz
gdb-202eca5ed48ec65462427b084c819e38ae9075a7.tar.bz2
* hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
argument, instead of using inferior_pid.
Diffstat (limited to 'gdb/hppah-nat.c')
-rw-r--r--gdb/hppah-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c
index 6b37166..f771696 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");