proc-events.c: fix compilation on Solaris
[deliverable/binutils-gdb.git] / gdb / target.h
index d7580ace633a3505b29581272c74b5230e7b1f93..f208b10767681dd767aac4c5ce65fb5cbebf7bbe 100644 (file)
@@ -597,8 +597,6 @@ struct target_ops
                                      int, bool, int,
                                      gdb::array_view<const int>)
       TARGET_DEFAULT_RETURN (1);
-    int (*to_has_exited) (struct target_ops *, int, int, int *)
-      TARGET_DEFAULT_RETURN (0);
     void (*to_mourn_inferior) (struct target_ops *)
       TARGET_DEFAULT_FUNC (default_mourn_inferior);
     /* Note that to_can_run is special and can be invoked on an
@@ -1624,13 +1622,6 @@ void target_follow_exec (struct inferior *inf, char *execd_pathname);
                                                  pid, needed, any_count, \
                                                  syscall_counts)
 
-/* Returns TRUE if PID has exited.  And, also sets EXIT_STATUS to the
-   exit code of PID, if any.  */
-
-#define target_has_exited(pid,wait_status,exit_status) \
-     (*current_target.to_has_exited) (&current_target, \
-                                     pid,wait_status,exit_status)
-
 /* The debugger has completed a blocking wait() call.  There is now
    some process event that must be processed.  This function should
    be defined by those targets that require the debugger to perform
This page took 0.024493 seconds and 4 git commands to generate.