Index: gdb/target/wait.h |
diff --git a/gdb/config/djgpp/langinfo.h b/gdb/target/wait.h |
similarity index 64% |
copy from gdb/config/djgpp/langinfo.h |
copy to gdb/target/wait.h |
index 9e1375f8600998d20851414b265c0b863a07ee4f..a5f18b522d98d8220a45ce4222ad8d4dfa027055 100644 |
--- a/gdb/config/djgpp/langinfo.h |
+++ b/gdb/target/wait.h |
@@ -1,6 +1,6 @@ |
-/* langinfo.h file for DJGPP. |
- Copyright (C) 2009-2012 Free Software Foundation, Inc. |
- Written by Eli Zaretskii. |
+/* Target wait definitions and prototypes. |
+ |
+ Copyright (C) 1990-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -17,19 +17,14 @@ |
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 |
-}; |
+#ifndef WAIT_H |
+#define WAIT_H |
-#define CODESET CODESET |
+/* Options that can be passed to target_wait. */ |
-extern char *nl_langinfo (nl_item); |
+/* Return immediately if there's no event already queued. If this |
+ options is not requested, target_wait blocks waiting for an |
+ event. */ |
+#define TARGET_WNOHANG 1 |
-#endif /* _LANGINFO_H */ |
+#endif /* WAIT_H */ |