* tm-rs6000.h (AIX_BUGGY_PTRACE_CALL): Zap, we think we fixed it.

Rich and I believe the "real problem" was that both single_step
and target_resume were issuing PT_CONTINUE calls.  This would
cause the second PT_CONTINUE to sometimes fail because the process
was already running.
* infptrace.c (child_resume):  Remove AIX_BUGGY_PTRACE_CALL kludge.
This commit is contained in:
John Gilmore
1992-09-18 08:09:25 +00:00
parent 997cc2c0a3
commit 6bb40269a0
3 changed files with 7 additions and 19 deletions

View File

@@ -128,13 +128,9 @@ child_resume (step, signal)
instructions), so we don't have to worry about that here. */
if (step)
ptrace (PT_STEP, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal);
ptrace (PT_STEP, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal);
else
#ifdef AIX_BUGGY_PTRACE_CONTINUE
AIX_BUGGY_PTRACE_CONTINUE;
#else
ptrace (PT_CONTINUE, inferior_pid, (PTRACE_ARG3_TYPE) 1, signal);
#endif
if (errno)
perror_with_name ("ptrace");