diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-05-11 13:35:55 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-05-11 13:35:55 +0000 |
commit | cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891 (patch) | |
tree | 422678986a58e51b2a7fe3d64c38b97d4996abe1 /gdb/target.c | |
parent | e9868447b4b62dd04b5350113b136856ddbaa232 (diff) | |
download | gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.zip gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.tar.gz gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.tar.bz2 |
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 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 |