aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c4
1 files changed, 4 insertions, 0 deletions
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: