This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] remove WAITTYPE and WCOREDUMP in gdb_wait.h
- From: Yao Qi <yao at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 03 May 2011 21:17:43 +0800
- Subject: [patch] remove WAITTYPE and WCOREDUMP in gdb_wait.h
WAITTYPE and WCOREDUMP is not used elsewhere in GDB, so can we remove
them from gdb_wait.h?
--
Yao (éå)
2011-05-03 Yao Qi <yao@codesourcery.com>
* gdb_wait.h: remove WAITTYPE and WCOREDUMP.
---
gdb/gdb_wait.h | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/gdb/gdb_wait.h b/gdb/gdb_wait.h
index a583050..19485f5 100644
--- a/gdb/gdb_wait.h
+++ b/gdb/gdb_wait.h
@@ -78,12 +78,6 @@
/* These are not defined in POSIX, but are used by our programs. */
-#define WAITTYPE int
-
-#ifndef WCOREDUMP
-#define WCOREDUMP(w) (((w)&0200) != 0)
-#endif
-
#ifndef WSETEXIT
# ifdef W_EXITCODE
#define WSETEXIT(w,status) ((w) = W_EXITCODE(status,0))
--
1.7.0.4