aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-05-01 00:06:46 +0000
committerK. Richard Pixley <rich@cygnus>1993-05-01 00:06:46 +0000
commit5385e525fe7690f4a2aab6daa5a45b554a9adee0 (patch)
treeda178ca2a0382daa4ae6b6a1f3547046042a1950
parent77372bff0385b575abeb1a9bea77b43b8a53f311 (diff)
downloadgdb-5385e525fe7690f4a2aab6daa5a45b554a9adee0.zip
gdb-5385e525fe7690f4a2aab6daa5a45b554a9adee0.tar.gz
gdb-5385e525fe7690f4a2aab6daa5a45b554a9adee0.tar.bz2
* remove-udi.c (udi_wait): ifdef around SIGLOST usage. Eg,
Solaris doesn't have SIGLOST so use SIGURG as a backup.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-udi.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f1bc880..1fec572 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
+
+ * remove-udi.c (udi_wait): ifdef around SIGLOST usage. Eg,
+ Solaris doesn't have SIGLOST so use SIGURG as a backup.
+
Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com)
* ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index 54a6197..2417452 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -583,7 +583,11 @@ udi_wait (status)
WSETSTOP ((*status), SIGTSTP);
break;
case UDIWarned:
+#ifdef SIGLOST
WSETSTOP ((*status), SIGLOST);
+#else
+ WSETSTOP ((*status), SIGURG);
+#endif
break;
case UDIStepped:
case UDIBreak: