This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]