* gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
authorJim Blandy <jimb@codesourcery.com>
Sat, 18 Mar 2000 01:57:00 +0000 (01:57 +0000)
committerJim Blandy <jimb@codesourcery.com>
Sat, 18 Mar 2000 01:57:00 +0000 (01:57 +0000)
to W_STOPCODE.

gdb/gdb_wait.h

index 36e797b..63a13d2 100644 (file)
@@ -95,7 +95,7 @@
 
 #ifndef        WSETSTOP
 # ifdef        W_STOPCODE
-#define        WSETSTOP(w,status) ((w) = W_STOPCODE(status,0))
+#define        WSETSTOP(w,sig)    ((w) = W_STOPCODE(sig))
 # else
 #define WSETSTOP(w,sig)           ((w) = (0177 | ((sig) << 8)))
 # endif