diff options
author | Stan Shebs <shebs@apple.com> | 1999-05-11 13:35:55 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-05-11 13:35:55 +0000 |
commit | d8ddec32b1a36b9336dda8682ea4912f43fb461b (patch) | |
tree | e34815c29fb06b2aa25d61e9e4c2ae292d3c3bad /gdb/target.c | |
parent | a47ab2a209c4bc8625f0868fd0df4a84cceb0480 (diff) | |
download | gdb-d8ddec32b1a36b9336dda8682ea4912f43fb461b.tar.gz |
import gdb-1999-05-10
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c index d96514c4dbb..fe0e0c001b2 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 |