aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c
index d96514c..fe0e0c0 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1258,6 +1258,7 @@ static struct {
{"SIG61", "Real-time event 61"},
{"SIG62", "Real-time event 62"},
{"SIG63", "Real-time event 63"},
+ {"SIGCANCEL", "LWP internal signal"},
#if defined(MACH) || defined(__MACH__)
/* Mach exceptions */
@@ -1446,6 +1447,9 @@ target_signal_from_host (hostsig)
#if defined (SIGWAITING)
if (hostsig == SIGWAITING) return TARGET_SIGNAL_WAITING;
#endif
+#if defined (SIGCANCEL)
+ if (hostsig == SIGCANCEL) return TARGET_SIGNAL_CANCEL;
+#endif
#if defined (SIGLWP)
if (hostsig == SIGLWP) return TARGET_SIGNAL_LWP;
#endif
@@ -1624,6 +1628,9 @@ target_signal_to_host (oursig)
#if defined (SIGWAITING)
case TARGET_SIGNAL_WAITING: return SIGWAITING;
#endif
+#if defined (SIGCANCEL)
+ case TARGET_SIGNAL_CANCEL: return SIGCANCEL;
+#endif
#if defined (SIGLWP)
case TARGET_SIGNAL_LWP: return SIGLWP;
#endif