From cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 11 May 1999 13:35:55 +0000 Subject: import gdb-1999-05-10 --- gdb/target.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gdb/target.c') 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 -- cgit v1.1