From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13026 invoked by alias); 26 Mar 2003 17:21:01 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13018 invoked from network); 26 Mar 2003 17:21:00 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 26 Mar 2003 17:21:00 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18yGTh-0000oG-00; Wed, 26 Mar 2003 13:22:25 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18yEa8-0000TH-00; Wed, 26 Mar 2003 12:20:56 -0500 Date: Wed, 26 Mar 2003 17:21:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: gdb-patches@sources.redhat.com Subject: Re: PATCH: Fix SIGRTMIN problems with glibc 2.3 [1/2] Message-ID: <20030326172056.GA1766@nevyn.them.org> Mail-Followup-To: Andreas Schwab , gdb-patches@sources.redhat.com References: <20030326163223.GA4481@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-03/txt/msg00516.txt.bz2 On Wed, Mar 26, 2003 at 06:17:32PM +0100, Andreas Schwab wrote: > Daniel Jacobowitz writes: > > |> Index: signals.c > |> =================================================================== > |> RCS file: /cvs/src/src/gdb/signals/signals.c,v > |> retrieving revision 1.5 > |> diff -u -p -r1.5 signals.c > |> --- signals.c 27 Aug 2002 22:37:14 -0000 1.5 > |> +++ signals.c 26 Mar 2003 16:25:51 -0000 > |> @@ -30,6 +30,20 @@ > |> > |> #include > |> > |> +/* Always use __SIGRTMIN if it's available. SIGRTMIN is the lowest > |> + _available_ realtime signal, not the lowest supported; glibc takes > |> + several for its own use. */ > |> + > |> +#ifndef REALTIME_LO > |> +# if defined(__SIGRTMIN) > |> +# define REALTIME_LO __SIGRTMIN > |> +# define REALTIME_HI __SIGRTMAX > |> +# elif defined(SIGRTMIN) > |> +# define REALTIME_LO __SIGRTMIN > |> +# define REALTIME_HI __SIGRTMAX > ^^ > Typo? Er, yes rather. Thanks for catching that! -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer 2003-03-26 Daniel Jacobowitz * signals/signals.c: Fix typos in last change. Index: signals/signals.c =================================================================== RCS file: /cvs/src/src/gdb/signals/signals.c,v retrieving revision 1.6 diff -u -p -r1.6 signals.c --- signals/signals.c 26 Mar 2003 16:29:39 -0000 1.6 +++ signals/signals.c 26 Mar 2003 17:20:10 -0000 @@ -39,8 +39,8 @@ # define REALTIME_LO __SIGRTMIN # define REALTIME_HI __SIGRTMAX # elif defined(SIGRTMIN) -# define REALTIME_LO __SIGRTMIN -# define REALTIME_HI __SIGRTMAX +# define REALTIME_LO SIGRTMIN +# define REALTIME_HI SIGRTMAX # endif #endif