OSDN Git Service

* config/i386/tm-linux.h (sys_quotactl): Do not define.
authoruweigand <uweigand>
Mon, 21 May 2007 13:20:53 +0000 (13:20 +0000)
committeruweigand <uweigand>
Mon, 21 May 2007 13:20:53 +0000 (13:20 +0000)
* configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
define for i[[3456]]86-*-linux* native configurations.
* config.in, configure: Regenerate.

gdb/config/i386/tm-linux.h
gdb/configure.ac

index d662c95..128c825 100644 (file)
@@ -23,9 +23,6 @@
 #ifndef TM_LINUX_H
 #define TM_LINUX_H
 
-/* The following works around a problem with /usr/include/sys/procfs.h  */
-#define sys_quotactl 1
-
 /* N_FUN symbols in shared libaries have 0 for their values and need
    to be relocated. */
 #define SOFUN_ADDRESS_MAYBE_MISSING
index 3a579fd..ea16099 100644 (file)
@@ -686,18 +686,10 @@ if test $gdb_cv_have_pt_getxmmregs = yes; then
   [Define if sys/ptrace.h defines the PT_GETXMMREGS request.])
 fi
 
-# If we are configured native on GNU/Linux, work around problems with
-# sys/procfs.h
-# Also detect which type of /proc is in use, such as for Unixware or Solaris.
+# Detect which type of /proc is in use, such as for Unixware or Solaris.
 
 if test "${target}" = "${host}"; then
   case "${host}" in
-  i[[3456]]86-*-linux*)
-       AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED, 2,
-        [Define on a GNU/Linux system to work around problems in sys/procfs.h.])
-       AC_DEFINE(sys_quotactl, 1,
-        [Define on a GNU/Linux system to work around problems in sys/procfs.h.])
-       ;;
   *-*-unixware* | *-*-sysv4.2* | *-*-sysv5* | *-*-interix* )
       AC_DEFINE(NEW_PROC_API, 1,
       [Define if you want to use new multi-fd /proc interface