This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Do not use internal definition of SIGRTMIN


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]