Module Name:    src
Committed By:   christos
Date:           Wed Mar 21 18:01:34 UTC 2012

Modified Files:
        src/external/gpl3/gdb/dist/gdb: inf-ptrace.c

Log Message:
Disable OS supplied single step functionality, because the code here is
wrong.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdb/inf-ptrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/inf-ptrace.c
diff -u src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.2 src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.3
--- src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.2	Sun Sep 25 12:30:25 2011
+++ src/external/gpl3/gdb/dist/gdb/inf-ptrace.c	Wed Mar 21 14:01:34 2012
@@ -358,6 +358,12 @@ inf_ptrace_resume (struct target_ops *op
   else
     request = PT_CONTINUE;
 
+#ifdef notyet
+  /*
+   * Disable support for kernel PT_STEP. This code has no hope of working
+   * since this is the only place where PT_STEP is set, and it is only turned
+   * on!
+   */
   if (step)
     {
       /* If this system does not support PT_STEP, a higher level
@@ -368,6 +374,7 @@ inf_ptrace_resume (struct target_ops *op
       request = PT_STEP;
       sig = 0;
     } else
+#endif
       sig = target_signal_to_host (signal);
 
   /* An address of (PTRACE_TYPE_ARG3)1 tells ptrace to continue from

Reply via email to