This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] target.c: Add support for Solaris realtime signals
- To: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Subject: Re: [RFA] target.c: Add support for Solaris realtime signals
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 26 Sep 2000 21:12:33 -0400
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200009222148.XAA00866@reisser.regent.e-technik.tu-muenchen.de>
"Peter.Schauer" wrote:
>
> This patch adds support for Solaris realtime signals, they are modelled after
> (ummh, more or less copied from) the REALTIME_LO/HI support.
>
> Unfortunately I can't add a testsuite case to sigall.exp, as the definitions
> of the signal numbers are dynamic.
>
> * target.c (target_signal_from_host, do_target_signal_to_host):
> Add support for Solaris realtime signals.
I suspect it should call internal_error() rather than error() - if the
signal turns out to be outside of that range then there is something
serious. However, you mention that the signal numbering is dynamic -
does this mean that the number of realtime signals can be increased to
something more than 32 at runtime?) - hence the reason I'm not 100%
sure.
Other than this, I've no problems with your patch.
enjoy,
Andrew