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: Khem Raj <raj dot khem at gmail dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 31 Oct 2015 13:27:50 -0700
- 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> <87r3kavlwi dot fsf at igel dot home>
On Sat, Oct 31, 2015 at 1:11 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> 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.
>
OK then I will ifdef it with __GLIBC__ then
> 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."