Module Name: src Committed By: christos Date: Sun Feb 2 23:17:54 UTC 2014
Modified Files: src/external/gpl3/gdb/dist/gdb: inf-ptrace.c Log Message: remove stale comment and explain what we are doing. thanks dsl To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 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.7 src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.8 --- src/external/gpl3/gdb/dist/gdb/inf-ptrace.c:1.7 Sun Feb 2 17:00:38 2014 +++ src/external/gpl3/gdb/dist/gdb/inf-ptrace.c Sun Feb 2 18:17:54 2014 @@ -365,6 +365,10 @@ inf_ptrace_resume (struct target_ops *op worry about that here. */ request = PT_STEP; #ifdef __NetBSD__ + /* + * On NetBSD the data field of PT_STEP contains the thread + * be stepped and all other threads are continued if > 0 + */ sig = ptid_get_lwp(ptid); #else sig = 0; @@ -376,10 +380,6 @@ inf_ptrace_resume (struct target_ops *op where it was. If GDB wanted it to start some other way, we have already written a new program counter value to the child. */ errno = 0; - /* - XXX __NetBSD__: We used to pass this as the signal - sig = ptid_get_lwp(ptid); - */ ptrace (request, pid, (PTRACE_TYPE_ARG3)1, sig); if (errno != 0) perror_with_name (("ptrace"));