* gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
to W_STOPCODE.
This commit is contained in:
parent
67aaefa2df
commit
6d5a5207c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user