[RFA]: gdbserver: Provide W_STOPCODE, SIGRTMIN if missing

Daniel Jacobowitz drow@false.org
Mon Dec 21 21:48:00 GMT 2009


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



More information about the Gdb-patches mailing list