/* Wrapper for waitpid for GNU/Linux (LWP layer).
- Copyright (C) 2000-2013 Free Software Foundation, Inc.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
This file is part of GDB.
#ifndef LINUX_WAITPID_H
#define LINUX_WAITPID_H
-/* Wrapper function for waitpid which handles EINTR, and emulates
- __WALL for systems where that is not available. */
+/* Wrapper function for waitpid which handles EINTR. */
extern int my_waitpid (int pid, int *status, int flags);
+/* Convert wait status STATUS to a string. Used for printing debug
+ messages only. */
+extern char *status_to_str (int status);
+
#endif /* LINUX_WAITPID_H */