aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/signals.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/signals.c')
-rw-r--r--gdb/common/signals.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/common/signals.c b/gdb/common/signals.c
index 45c0c73..f84935d 100644
--- a/gdb/common/signals.c
+++ b/gdb/common/signals.c
@@ -331,6 +331,10 @@ gdb_signal_from_host (int hostsig)
if (hostsig == SIGINFO)
return GDB_SIGNAL_INFO;
#endif
+#if defined (SIGLIBRT)
+ if (hostsig == SIGLIBRT)
+ return GDB_SIGNAL_LIBRT;
+#endif
#if defined (REALTIME_LO)
if (hostsig >= REALTIME_LO && hostsig < REALTIME_HI)
@@ -584,6 +588,10 @@ do_gdb_signal_to_host (enum gdb_signal oursig,
case GDB_SIGNAL_INFO:
return SIGINFO;
#endif
+#if defined (SIGLIBRT)
+ case GDB_SIGNAL_LIBRT:
+ return SIGLIBRT;
+#endif
default:
#if defined (REALTIME_LO)