Introduce 'enum remove_bp_reason'
[binutils-gdb.git] / gdb / inf-ptrace.h
index ec405904a4cf17d21d46b257bcd68ce80301ef17..f1fc11193ef020466de6630cf65d917c57a980d8 100644 (file)
@@ -33,4 +33,13 @@ extern struct target_ops *
   inf_ptrace_trad_target (CORE_ADDR (*register_u_offset)
                                        (struct gdbarch *, int, int));
 
+/* Return which PID to pass to ptrace in order to observe/control the
+   tracee identified by PTID.  */
+
+extern pid_t get_ptrace_pid (ptid_t);
+
+
+/* Cleanup the inferior after a successful ptrace detach.  */
+extern void inf_ptrace_detach_success (struct target_ops *ops);
+
 #endif