From patchwork Mon Oct 31 16:24:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 17043 Received: (qmail 92585 invoked by alias); 31 Oct 2016 16:24:33 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 92553 invoked by uid 89); 31 Oct 2016 16:24:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL, BAYES_00, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=7926, 792, 6 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 31 Oct 2016 16:24:19 +0000 Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Forcepoint Email with ESMTPS id 964945901FE6E; Mon, 31 Oct 2016 16:24:08 +0000 (GMT) Received: from [10.20.78.238] (10.20.78.238) by HHMAIL01.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server id 14.3.294.0; Mon, 31 Oct 2016 16:24:10 +0000 Date: Mon, 31 Oct 2016 16:24:04 +0000 From: "Maciej W. Rozycki" To: CC: Pedro Alves Subject: [PATCH] Remove IRIX 5 _KMEMUSER workaround Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Complement commit 3831839c089c ("Delete IRIX support") and remove the IRIX 5 _KMEMUSER workaround from the `configure' script, as IRIX is no longer a supported host configuration. gdb/ * configure.ac : Remove _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 gets a definition of anon_hdl. Works around a - 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 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 needing _KMEMUSER problem on IRIX 5. - AC_DEFINE([_KMEMUSER], 1, - [Define to 1 so gets a definition of anon_hdl. Works - around a problem on IRIX 5.]) - ;; esac fi