From patchwork Wed Oct 16 10:14:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 35033 Received: (qmail 1304 invoked by alias); 16 Oct 2019 10:22:14 -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 1274 invoked by uid 89); 16 Oct 2019 10:22:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=83, 8.3, 7.0, Andreas X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Oct 2019 10:22:09 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 9E050777 for ; Wed, 16 Oct 2019 12:22:06 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fEneCv7PNnn0 for ; Wed, 16 Oct 2019 12:22:03 +0200 (CEST) Received: from itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (itzacchiuatl.CeBiTec.Uni-Bielefeld.DE [129.70.161.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 9436F6AB for ; Wed, 16 Oct 2019 12:14:55 +0200 (CEST) Received: (from ro@localhost) by itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id x9GAEtWW008809; Wed, 16 Oct 2019 12:14:55 +0200 (CEST) From: Rainer Orth To: gdb-patches@sourceware.org Subject: [PATCH] Obsolete Solaris 10 support Date: Wed, 16 Oct 2019 12:14:55 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Here's the patch corresponding to the Solaris 10 obsoletion announcement https://sourceware.org/ml/gdb/2019-10/msg00008.html Right now it doesn't remove any code, but obviates the need to test on that ancient platform. Besides, some of the patches I have in my queue would require different solutions for Solaris 10 and 11. There are a few comment-only references that I've kept since they are still correct as is, even when GDB doesn't support Solaris 10 any longer. The only code fragment I've left in is support for /proc//execname, that wasn't present in Solaris 11.0 and still isn't in current Illumos and I didn't want to make live harder for them. Tested on i386-pc-solaris2.10 (obsolete configuration rejected) and x86_64-pc-linux-gnu x sparc64-solaris2.10 (likewise) resp. x86_64-pc-linux-gnu x sparcv9-solaris2.11 (still builds; I'm using the sparcv9 form for 64-bit SPARC customary on Solaris in the MAINTAINERS file now). Following our obsoletion procedure, I'm going to commit the patch a week after the obsoletion announcement goes to gdb-announce. Rainer # HG changeset patch # Parent 112527a0ee9ed142cc900be745fbe49004ca44d9 Obsolete Solaris 10 support diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -313,10 +313,10 @@ the native maintainer when resolving ABI s390 --target=s390-linux-gnu ,-Werror Andreas Arnez arnez@linux.vnet.ibm.com - score --target=score-elf + score --target=score-elf sh --target=sh-elf ,-Werror - sparc --target=sparc64-solaris2.10 ,-Werror + sparc --target=sparcv9-solaris2.11 ,-Werror (--target=sparc-elf broken) spu --target=spu-elf ,-Werror diff --git a/gdb/NEWS b/gdb/NEWS --- a/gdb/NEWS +++ b/gdb/NEWS @@ -318,6 +318,11 @@ maint show test-options-completion-resul GDB now bundles GNU readline 8.0, but if you choose to use --with-system-readline, only readline >= 7.0 can be used. +* Removed targets and native configurations + +Solaris 10 i?86-*-solaris2.10, x86_64-*-solaris2.10, + sparc*-*-solaris2.10 + *** Changes in GDB 8.3 * GDB and GDBserver now support access to additional registers on diff --git a/gdb/configure.host b/gdb/configure.host --- a/gdb/configure.host +++ b/gdb/configure.host @@ -20,7 +20,7 @@ case $host in vax-*-netbsdelf*) ;; *-*-irix* | \ - *-*-solaris2.[01] | *-*-solaris2.[2-9]* | \ + *-*-solaris2.[01] | *-*-solaris2.[2-9]* | *-*-solaris2.10* | \ alpha*-*-osf* | \ alpha*-*-freebsd* | \ alpha*-*-kfreebsd*-gnu | \ diff --git a/gdb/configure.tgt b/gdb/configure.tgt --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -14,6 +14,7 @@ case $targ in *-*-irix* | \ + *-*-solaris2.[01] | *-*-solaris2.[2-9]* | *-*-solaris2.10* | \ alpha*-*-osf* | \ alpha*-*-freebsd* | \ alpha*-*-kfreebsd*-gnu | \