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 f917305..b4dce19 100644 (file)
@@ -1,5 +1,12 @@
 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.
        (mips_breakpoint_from_pc): Remove IDT and PMON breakpoint
        encodings.
index 9c841ba..3f8a723 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 d744f73..cf80bef 100755 (executable)
@@ -13907,12 +13907,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 83c2707..592b1be 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