* Makefile.in (symfile.o): Add gdb-stabs.h to dependencies list.
[deliverable/binutils-gdb.git] / gdb / gdb_wait.h
index d0f94f30c4a5ada07d9405452026daeed521e90c..63a13d2105de2e2f67c8695848bf08e3f8e88981 100644 (file)
 #endif
 
 #ifndef        WSETEXIT
+# ifdef        W_EXITCODE
+#define        WSETEXIT(w,status) ((w) = W_EXITCODE(status,0))
+# else
 #define WSETEXIT(w,status) ((w) = (0 | ((status) << 8)))
+# endif
 #endif
 
 #ifndef        WSETSTOP
+# ifdef        W_STOPCODE
+#define        WSETSTOP(w,sig)    ((w) = W_STOPCODE(sig))
+# else
 #define WSETSTOP(w,sig)           ((w) = (0177 | ((sig) << 8)))
+# endif
 #endif
 
 /*
This page took 0.024411 seconds and 4 git commands to generate.