[ob] Fix gdbserver build on uClinux

Daniel Jacobowitz drow@false.org
Mon Nov 5 19:23:00 GMT 2007


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



More information about the Gdb-patches mailing list