This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Problems with changes to linux-thread.c, gdb_wait.h
- To: Mark Kettenis <kettenis at wins dot uva dot nl>, GDB Mailing List <gdb at sourceware dot cygnus dot com>
- Subject: Problems with changes to linux-thread.c, gdb_wait.h
- From: Scott Bambrough <scottb at netwinder dot org>
- Date: Fri, 17 Mar 2000 16:51:30 -0500
- Organization: Rebel.com
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