Disable get_ptrace_pid for NetBSD
[deliverable/binutils-gdb.git] / gdb / inf-ptrace.h
index dd0733736f2686ad50c46295e29e7f8f6eb7dec6..dea82d005e35adeda4bcf4b82c348b0fbe48d9a8 100644 (file)
@@ -78,9 +78,14 @@ protected:
   void detach_success (inferior *inf);
 };
 
+#ifndef __NetBSD__
 /* Return which PID to pass to ptrace in order to observe/control the
-   tracee identified by PTID.  */
+   tracee identified by PTID.
+
+   Unlike most other Operating Systems, NetBSD tracks both pid and lwp
+   and avoids this function.  */
 
 extern pid_t get_ptrace_pid (ptid_t);
+#endif
 
 #endif
This page took 0.024564 seconds and 4 git commands to generate.