diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 2000-11-21 10:26:07 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 2000-11-21 10:26:07 +0000 |
commit | d57fc35284691c78cd8199f2af918c7a279508e5 (patch) | |
tree | 6270da6ce417f103a60a6f9a31e1ed0daf5e5665 | |
parent | a7ec76fe2fc785f39a3c8e6e6cc23d433c4aae77 (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/target.c | 5 | ||||
-rw-r--r-- | gdb/target.h | 2 |
3 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cd38b95..4f22ab0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2000-11-21 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> + + * 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. + 2000-11-21 Kevin Buettner <kevinb@redhat.com> * solib.c (solib_open): Handle the case where 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; diff --git a/gdb/target.h b/gdb/target.h index 98c017b..5b0afb7 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -240,6 +240,8 @@ enum target_signal of the protocol. Note that in some GDB's TARGET_SIGNAL_REALTIME_32 is number 76. */ TARGET_SIGNAL_REALTIME_32, + /* Yet another pain, IRIX 6 has SIG64. */ + TARGET_SIGNAL_REALTIME_64, #if defined(MACH) || defined(__MACH__) /* Mach exceptions */ |