proc-events.c: fix compilation on Solaris
[deliverable/binutils-gdb.git] / gdb / target.h
index b97f142534d15780438a8138651577a1dcf8d1f6..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
@@ -957,7 +955,7 @@ struct target_ops
 
     /* Send full details of a trace state variable to the target.  */
     void (*to_download_trace_state_variable) (struct target_ops *,
-                                             struct trace_state_variable *tsv)
+                                             const trace_state_variable &tsv)
       TARGET_DEFAULT_NORETURN (tcomplain ());
 
     /* Enable a tracepoint on the target.  */
@@ -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.023666 seconds and 4 git commands to generate.