Problems with changes to linux-thread.c, gdb_wait.h

Scott Bambrough scottb@netwinder.org
Fri Mar 17 13:57:00 GMT 2000


Mark,

Your changes listed below are causing me two problems on ARM with glibc 2.1.3.

W_STOPCODE only takes one parameter on my system.

It is defined in <sys/wait.h> as:
#define W_STOPCODE(sig)		__W_STOPCODE(sig)

__W_STOPCODE is defined in <bits/waitstatus.h> as:
#define __W_STOPCODE(sig)	((sig) << 8 | 0x7f)

linux_exit_status is not declared or defined anywhere I can find.

Scott

2000-03-17  Mark Kettenis  <kettenis@gnu.org>

        * gdb_wait.h: add definitions of WSETSTOP and WSETEXIT for Linux.
        * linux-thread.c: Use WSETSTOP instead of W_STOPCODE.

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org


More information about the Gdb mailing list