Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 31 Oct 2016 16:24:04 +0000 (16:24 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 31 Oct 2016 17:06:24 +0000 (17:06 +0000)
Complement commit 3831839c089c ("Delete IRIX support") and remove the
IRIX 5 <sys/proc.h> _KMEMUSER workaround from the `configure' script, as
IRIX is no longer a supported host configuration.

gdb/
* configure.ac <mips-sgi-irix5*>: Remove <sys/proc.h> _KMEMUSER
workaround.
* configure: Regenerate.
* config.in: Regenerate.

gdb/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.ac

index f917305ca43c5084920a97912d1f4c62b40ebce2..b4dce194261d6ad6fa6bb64823d62e55537bc332 100644 (file)
@@ -1,3 +1,10 @@
+2016-10-31  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * configure.ac <mips-sgi-irix5*>: Remove <sys/proc.h> _KMEMUSER
+       workaround.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
 2016-10-31  Maciej W. Rozycki  <macro@imgtec.com>
 
        * mips-tdep.c (mips_r3041_reg_names): Remove.
index 9c841bacb542de53341dd98a84ca3cd600fa1b7a..3f8a72326b5d32db6ad8966c05045e248f955498 100644 (file)
 /* Number of bits in a file offset, on hosts where this is settable. */
 #undef _FILE_OFFSET_BITS
 
-/* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works around a
-   <sys/proc.h> problem on IRIX 5. */
-#undef _KMEMUSER
-
 /* Define for large files, on AIX-style hosts. */
 #undef _LARGE_FILES
 
index d744f73cd33422b2e54a2950d473ee0df73d5785..cf80bef7eda7a7f7c541d276c7c17d959c6f17ec 100755 (executable)
@@ -13906,12 +13906,6 @@ $as_echo "#define NEW_PROC_API 1" >>confdefs.h
 
 $as_echo "#define NEW_PROC_API 1" >>confdefs.h
 
-      ;;
-  mips-sgi-irix5*)
-      # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
-
-$as_echo "#define _KMEMUSER 1" >>confdefs.h
-
       ;;
   esac
 fi
index 83c270746e161a6deb9f5a626009a0324615d8c9..592b1beb92ff02d3c0ae98ac31f350b765df369f 100644 (file)
@@ -1545,12 +1545,6 @@ if test "${target}" = "${host}"; then
       AC_DEFINE(NEW_PROC_API, 1,
       [Define if you want to use new multi-fd /proc interface.])
       ;;
-  mips-sgi-irix5*)
-      # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
-      AC_DEFINE([_KMEMUSER], 1,
-      [Define to 1 so <sys/proc.h> gets a definition of anon_hdl.  Works
-       around a <sys/proc.h> problem on IRIX 5.])
-      ;;
   esac
 fi
 
This page took 0.036756 seconds and 4 git commands to generate.