From 5385e525fe7690f4a2aab6daa5a45b554a9adee0 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Sat, 1 May 1993 00:06:46 +0000 Subject: [PATCH] * remove-udi.c (udi_wait): ifdef around SIGLOST usage. Eg, Solaris doesn't have SIGLOST so use SIGURG as a backup. --- gdb/ChangeLog | 5 +++++ gdb/remote-udi.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f1bc880f1f0..1fec572c41c 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 54a61972a0a..241745240b7 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: -- 2.30.2