aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-child.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inf-child.h')
-rw-r--r--gdb/inf-child.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/inf-child.h b/gdb/inf-child.h
index aa33c53..1e009b6 100644
--- a/gdb/inf-child.h
+++ b/gdb/inf-child.h
@@ -104,10 +104,9 @@ protected:
void maybe_unpush_target ();
};
-/* Functions for helping to write a native target. */
+/* Convert the host wait(2) status to a target_waitstatus. */
-/* This is for native targets which use a unix/POSIX-style waitstatus. */
-extern void store_waitstatus (struct target_waitstatus *, int);
+extern target_waitstatus host_status_to_waitstatus (int hoststatus);
/* Register TARGET as native target and set it up to respond to the
"target native" command. */