aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>2000-11-21 10:26:07 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>2000-11-21 10:26:07 +0000
commitd57fc35284691c78cd8199f2af918c7a279508e5 (patch)
tree6270da6ce417f103a60a6f9a31e1ed0daf5e5665 /gdb/target.c
parenta7ec76fe2fc785f39a3c8e6e6cc23d433c4aae77 (diff)
downloadgdb-d57fc35284691c78cd8199f2af918c7a279508e5.zip
gdb-d57fc35284691c78cd8199f2af918c7a279508e5.tar.gz
gdb-d57fc35284691c78cd8199f2af918c7a279508e5.tar.bz2
* target.h (TARGET_SIGNAL_REALTIME_64): Added for IRIX 6.
* target.c (target_signal_from_host, do_target_signal_to_host): Handle TARGET_SIGNAL_REALTIME_64.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c
index c82dd43..fc3e6c0 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1422,6 +1422,7 @@ static struct {
{"SIG63", "Real-time event 63"},
{"SIGCANCEL", "LWP internal signal"},
{"SIG32", "Real-time event 32"},
+ {"SIG64", "Real-time event 64"},
#if defined(MACH) || defined(__MACH__)
/* Mach exceptions */
@@ -1736,6 +1737,8 @@ target_signal_from_host (int hostsig)
if (33 <= hostsig && hostsig <= 63)
return (enum target_signal)
(hostsig - 33 + (int) TARGET_SIGNAL_REALTIME_33);
+ else if (hostsig == 64)
+ return TARGET_SIGNAL_REALTIME_64;
else
error ("GDB bug: target.c (target_signal_from_host): unrecognized real-time signal");
}
@@ -2007,6 +2010,8 @@ do_target_signal_to_host (enum target_signal oursig,
if (retsig >= SIGRTMIN && retsig <= SIGRTMAX)
return retsig;
}
+ else if (oursig == TARGET_SIGNAL_REALTIME_64)
+ return 64;
#endif
*oursig_ok = 0;
return 0;