This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Do not use internal definition of SIGRTMIN
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Khem Raj <raj dot khem at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 31 Oct 2015 21:11:09 +0100
- Subject: Re: [PATCH] Do not use internal definition of SIGRTMIN
- Authentication-results: sourceware.org; auth=none
- References: <1446317977-24319-1-git-send-email-raj dot khem at gmail dot com>
Khem Raj <raj.khem@gmail.com> writes:
> * linux-nat.c (lin_thread_get_thread_signals): Use SIGRTMIN
> * instead of
> __SIGRTMIN.
That's not the same.
> diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
> index 841ec39..12cf91b 100644
> --- a/gdb/linux-nat.c
> +++ b/gdb/linux-nat.c
> @@ -5227,10 +5227,10 @@ lin_thread_get_thread_signals (sigset_t *set)
> fortunately they don't change! */
>
> if (restart == 0)
> - restart = __SIGRTMIN;
> + restart = SIGRTMIN;
>
> if (cancel == 0)
> - cancel = __SIGRTMIN + 1;
> + cancel = SIGRTMIN + 1;
The point is to get the internal thread signals.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."