* [PATCH] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround
@ 2016-10-31 16:24 Maciej W. Rozycki
2016-10-31 16:49 ` Pedro Alves
0 siblings, 1 reply; 3+ messages in thread
From: Maciej W. Rozycki @ 2016-10-31 16:24 UTC (permalink / raw)
To: gdb-patches; +Cc: Pedro Alves
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.
---
Strictly speaking we could still support a cross-debugger on an IRIX host
even if target/native IRIX support has been removed. Since we've decided
to dump both target AND host support though, there's no point in carrying
this piece around. I suspect this was really needed for native support
only anyway.
OK to apply?
Maciej
gdb-irix-config-remove.diff
Index: binutils/gdb/config.in
===================================================================
--- binutils.orig/gdb/config.in 2016-10-25 05:16:57.000000000 +0100
+++ binutils/gdb/config.in 2016-10-28 20:25:45.000000000 +0100
@@ -792,10 +792,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
Index: binutils/gdb/configure
===================================================================
--- binutils.orig/gdb/configure 2016-10-25 05:16:57.000000000 +0100
+++ binutils/gdb/configure 2016-10-28 20:25:39.759082741 +0100
@@ -12927,12 +12927,6 @@ $as_echo "#define NEW_PROC_API 1" >>conf
$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: binutils/gdb/configure.ac
===================================================================
--- binutils.orig/gdb/configure.ac 2016-10-25 05:16:57.000000000 +0100
+++ binutils/gdb/configure.ac 2016-10-28 20:24:43.806574428 +0100
@@ -1541,12 +1541,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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround
2016-10-31 16:24 [PATCH] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround Maciej W. Rozycki
@ 2016-10-31 16:49 ` Pedro Alves
2016-10-31 17:08 ` Maciej W. Rozycki
0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2016-10-31 16:49 UTC (permalink / raw)
To: Maciej W. Rozycki, gdb-patches
On 10/31/2016 04:24 PM, Maciej W. Rozycki wrote:
> 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.
> ---
> Strictly speaking we could still support a cross-debugger on an IRIX host
> even if target/native IRIX support has been removed. Since we've decided
> to dump both target AND host support though, there's no point in carrying
> this piece around. I suspect this was really needed for native support
> only anyway.
>
> OK to apply?
OK.
Thanks,
Pedro Alves
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround
2016-10-31 16:49 ` Pedro Alves
@ 2016-10-31 17:08 ` Maciej W. Rozycki
0 siblings, 0 replies; 3+ messages in thread
From: Maciej W. Rozycki @ 2016-10-31 17:08 UTC (permalink / raw)
To: Pedro Alves; +Cc: gdb-patches
On Mon, 31 Oct 2016, Pedro Alves wrote:
> > OK to apply?
>
> OK.
Done, thanks!
Maciej
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-31 17:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-31 16:24 [PATCH] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround Maciej W. Rozycki
2016-10-31 16:49 ` Pedro Alves
2016-10-31 17:08 ` Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox