This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA]: gdbserver: Provide W_STOPCODE, SIGRTMIN if missing
- From: Daniel Jacobowitz <drow at false dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 21 Dec 2009 16:48:50 -0500
- Subject: Re: [RFA]: gdbserver: Provide W_STOPCODE, SIGRTMIN if missing
- References: <20091221210416.5B9EB84412@ruffy.mtv.corp.google.com>
On Mon, Dec 21, 2009 at 01:04:16PM -0800, Doug Evans wrote:
> Ok to check in?
>
> 2009-12-21 Doug Evans <dje@google.com>
>
> * linux-low.c (W_STOPCODE): Provide definition if missing.
> (MY_SIGRTMIN): Define to one of __SIGRTMIN, SIGRTMIN.
> (linux_create_inferior): Use MY_SIGRTMIN instead of __SIGRTMIN.
> (linux_wait_for_event_1, linux_init_signals): Ditto.
Alternatively, you could disable this code when __SIGRTMIN is not
defined. I doubt the bionic threading package uses LinuxThreads's
obsolete signals.
If you prefer, this version is fine.
--
Daniel Jacobowitz
CodeSourcery