aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/config.in4
-rwxr-xr-xgdb/configure6
-rw-r--r--gdb/configure.ac6
4 files changed, 7 insertions, 16 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f917305..b4dce19 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/config.in b/gdb/config.in
index 9c841ba..3f8a723 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -795,10 +795,6 @@
/* 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
diff --git a/gdb/configure b/gdb/configure
index d744f73..cf80bef 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -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
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 83c2707..592b1be 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -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