This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
GDB doesn't compile on GNU/Linux
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 29 Nov 2006 10:07:06 +1300
- Subject: GDB doesn't compile on GNU/Linux
I can't get GDB to compile on GNU/Linux because of this change:
2006-11-28 Ulrich Weigand <uweigand@de.ibm.com>
* config/nm-linux.h: Do not include <signal.h>.
The change below seems to fix it.
--
Nick http://www.inet.net.nz/~nickrob
2006-11-29 Nick Roberts <nickrob@snap.net.nz>
* linux-thread-db.c: Include <signal.h>.
*** linux-thread-db.c 29 Nov 2006 09:48:09 +1300 1.21
--- linux-thread-db.c 29 Nov 2006 10:03:35 +1300
***************
*** 39,44 ****
--- 39,46 ----
#include "gdbcore.h"
#include "linux-nat.h"
+ #include <signal.h>
+
#ifdef HAVE_GNU_LIBC_VERSION_H
#include <gnu/libc-version.h>
#endif