aboutsummaryrefslogtreecommitdiff
path: root/gdb/infptrace.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-18 08:09:25 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-18 08:09:25 +0000
commit6bb40269a062289f548b9ea1ac522ef62ad9f49b (patch)
tree1ba968801b4952050283fc2204e29e9b45c14b8c /gdb/infptrace.c
parent997cc2c0a3ca76b3da1489ce530df5d0c3a46a2c (diff)
downloadgdb-6bb40269a062289f548b9ea1ac522ef62ad9f49b.zip
gdb-6bb40269a062289f548b9ea1ac522ef62ad9f49b.tar.gz
gdb-6bb40269a062289f548b9ea1ac522ef62ad9f49b.tar.bz2
* 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.
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index 87178cd..23cb8f4 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -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");