[binutils-gdb] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround
Maciej W.Rozycki
macro@sourceware.org
Mon Oct 31 17:07:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c50730217d606814cda69a2bb6975730c0f1ee63
commit c50730217d606814cda69a2bb6975730c0f1ee63
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Mon Oct 31 16:24:04 2016 +0000
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.
Diff:
---
gdb/ChangeLog | 7 +++++++
gdb/config.in | 4 ----
gdb/configure | 6 ------
gdb/configure.ac | 6 ------
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
More information about the Gdb-cvs
mailing list