aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2000-03-18 01:57:00 +0000
committerJim Blandy <jimb@codesourcery.com>2000-03-18 01:57:00 +0000
commit6d5a5207c572473bdadb6dda5d7681bbcf430bc7 (patch)
tree775efbd6c4b0208bd3204086894a46dacba77e22
parent67aaefa2dfc022e3abe43e0de7e5773b28400a38 (diff)
downloadfsf-binutils-gdb-6d5a5207c572473bdadb6dda5d7681bbcf430bc7.zip
fsf-binutils-gdb-6d5a5207c572473bdadb6dda5d7681bbcf430bc7.tar.gz
fsf-binutils-gdb-6d5a5207c572473bdadb6dda5d7681bbcf430bc7.tar.bz2
* gdb_wait.h (WSETSTOP): Pass the appropriate number of arguments
to W_STOPCODE.
-rw-r--r--gdb/gdb_wait.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdb_wait.h b/gdb/gdb_wait.h
index 36e797b..63a13d2 100644
--- a/gdb/gdb_wait.h
+++ b/gdb/gdb_wait.h
@@ -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