This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

[ob] Fix gdbserver build on uClinux


My patch to use clone instead of fork fixed m68k-uclinux but not
arm-uclinux.  Strange and mysterious are the ways of indirect header
inclusion.

Obvious fix committed.

-- 
Daniel Jacobowitz
CodeSourcery

2007-11-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* linux-low.c: Include <sched.h>.

Index: linux-low.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/linux-low.c,v
retrieving revision 1.65
diff -u -p -r1.65 linux-low.c
--- linux-low.c	1 Nov 2007 19:19:39 -0000	1.65
+++ linux-low.c	5 Nov 2007 19:21:47 -0000
@@ -34,6 +34,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <sys/syscall.h>
+#include <sched.h>
 
 #ifndef PTRACE_GETSIGINFO
 # define PTRACE_GETSIGINFO 0x4202


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