Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(879)

Unified Diff: gdb/nat/linux-waitpid.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/nat/linux-nat.h ('k') | gdb/nat/linux-waitpid.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/nat/linux-waitpid.h
diff --git a/gdb/config/djgpp/langinfo.h b/gdb/nat/linux-waitpid.h
similarity index 65%
copy from gdb/config/djgpp/langinfo.h
copy to gdb/nat/linux-waitpid.h
index 9e1375f8600998d20851414b265c0b863a07ee4f..0df29d8ef5ca6321e6f430f958a96c278c7e92b7 100644
--- a/gdb/config/djgpp/langinfo.h
+++ b/gdb/nat/linux-waitpid.h
@@ -1,6 +1,6 @@
-/* langinfo.h file for DJGPP.
- Copyright (C) 2009-2012 Free Software Foundation, Inc.
- Written by Eli Zaretskii.
+/* Wrapper for waitpid for GNU/Linux (LWP layer).
+
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,19 +17,11 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef _LANGINFO_H
-#define _LANGINFO_H
-
-#include <nl_types.h>
-
-enum {
- CODESET,
- /* Number of enumerated values. */
- _NL_NUM
-};
-
-#define CODESET CODESET
+#ifndef LINUX_WAITPID_H
+#define LINUX_WAITPID_H
-extern char *nl_langinfo (nl_item);
+/* Wrapper function for waitpid which handles EINTR, and emulates
+ __WALL for systems where that is not available. */
+extern int my_waitpid (int pid, int *status, int flags);
-#endif /* _LANGINFO_H */
+#endif /* LINUX_WAITPID_H */
« no previous file with comments | « gdb/nat/linux-nat.h ('k') | gdb/nat/linux-waitpid.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698