summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-10-31 16:24:04 +0000
committerMaciej W. Rozycki <macro@imgtec.com>2016-10-31 17:06:24 +0000
commitc50730217d606814cda69a2bb6975730c0f1ee63 (patch)
tree53f16a2d3a0e0d4b95b082d4a27247ec8c193923
parent7e3d947dd6ae45d71aa175b96fbd42a51e93b3f8 (diff)
downloadbinutils-gdb-c50730217d606814cda69a2bb6975730c0f1ee63.tar.gz
Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround
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.
-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 f917305ca43..b4dce194261 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 9c841bacb54..3f8a72326b5 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 d744f73cd33..cf80bef7eda 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 83c270746e1..592b1beb92f 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