* 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.
This commit is contained in:
parent
a7ec76fe2f
commit
d57fc35284
3 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue