Permalink
Browse files

2009-03-19 Jonathan Chambers <joncham@gmail.com>

	* backend/server/i386-arch.h: Wrap include with #ifdef HAVE_SYS_USER_H
	
	* backend/server/x86-ptrace.c: Include config.h.

	* configure.in: Add check for sys/user.h.

	* winconfig.h: Added. Used to generate config.h on Windows.


svn path=/trunk/debugger/; revision=129763
  • Loading branch information...
1 parent 6f563d0 commit e45e82e858717687f79cb6eb5925cf6a2ba8d7e5 @joncham joncham committed Mar 19, 2009
Showing with 542 additions and 1 deletion.
  1. +10 −0 ChangeLog
  2. +2 −0 backend/server/i386-arch.h
  3. +1 −0 backend/server/x86-ptrace.c
  4. +1 −1 configure.in
  5. +528 −0 winconfig.h
View
@@ -1,3 +1,13 @@
+2009-03-19 Jonathan Chambers <joncham@gmail.com>
+
+ * backend/server/i386-arch.h: Wrap include with #ifdef HAVE_SYS_USER_H
+
+ * backend/server/x86-ptrace.c: Include config.h.
+
+ * configure.in: Add check for sys/user.h.
+
+ * winconfig.h: Added. Used to generate config.h on Windows.
+
2009-03-19 Martin Baulig <martin@ximian.com>
* classes/DebuggerOptions.cs
@@ -7,7 +7,9 @@ G_BEGIN_DECLS
#if defined(__i386__)
+#ifdef HAVE_SYS_USER_H
#include <sys/user.h>
+#endif
#define INFERIOR_REGS_TYPE struct user_regs_struct
#define INFERIOR_FPREGS_TYPE struct user_fpregs_struct
@@ -2,6 +2,7 @@
#define _GNU_SOURCE
#endif
+#include <config.h>
#include <server.h>
#include <breakpoints.h>
#include <stdio.h>
View
@@ -263,7 +263,7 @@ AC_SUBST(LIB_PREFIX)
AC_SUBST(LIB_SUFFIX)
AC_CHECK_HEADERS(stddef.h string.h strings.h stdlib.h time.h unistd.h)
-AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h termcap.h termcap/termcap.h)
+AC_CHECK_HEADERS(fcntl.h sys/user.h sys/file.h sys/time.h termcap.h termcap/termcap.h)
AC_HEADER_TIME
AC_HEADER_DIRENT
AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid)
Oops, something went wrong.

0 comments on commit e45e82e

Please sign in to comment.