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

Unified Diff: gdb/target/wait.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/target/resume.h ('k') | gdb/target/waitstatus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « gdb/target/resume.h ('k') | gdb/target/waitstatus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698