This is the mail archive of the gdb@sourceware.cygnus.com 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]

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


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

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