Obsolete Solaris 10 support
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 4 Nov 2019 17:13:14 +0000 (18:13 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 4 Nov 2019 17:13:14 +0000 (18:13 +0100)
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/<pid/path/a.out in procfs.c (procfs_target::pid_to_exec_file):
while current Solaris 11 updates provide /proc/<pid>/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).

* NEWS (Changes since GDB 8.3): Document Solaris 10 removal.
* configure.host: Mark *-*-solaris2.10* obsolete.
* configure.tgt: Mark Solaris < 11 obsolete.
* MAINTAINERS (Target Instruction Set Architectures) <sparc>:
Update target triplet.

gdb/ChangeLog
gdb/MAINTAINERS
gdb/NEWS
gdb/configure.host
gdb/configure.tgt

index 34e332b03341fab673c2012c8c2f6fe6cae791c3..7c5efceb3527e79cd09eeecf68696b5ea5888ec3 100644 (file)
@@ -1,3 +1,11 @@
+2019-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * NEWS (Changes since GDB 8.3): Document Solaris 10 removal.
+       * configure.host: Mark *-*-solaris2.10* obsolete.
+       * configure.tgt: Mark Solaris < 11 obsolete.
+       * MAINTAINERS (Target Instruction Set Architectures) <sparc>:
+       Update target triplet.
+
 2019-11-01  Tom Tromey  <tromey@adacore.com>
 
        * utils.c (print_sys_errmsg): Simplify.
index 8898bb4fdba8bf45757956b3e0bf9d0400711460..dbe5a0adfcc009391061a645316f03238786bc58 100644 (file)
@@ -313,10 +313,10 @@ the native maintainer when resolving ABI issues.
        s390            --target=s390-linux-gnu ,-Werror
                        Andreas Arnez           arnez@linux.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)
 
        tic6x           --target=tic6x-elf ,-Werror
index 59895bd68b38f94bd901a9cb846471d6498478b2..dc631794c093b7bfb5a10d4c58426a099e69c4ae 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -396,6 +396,11 @@ focus, winheight, +, -, >, <
 
 TI PRU                                 pru-*-elf
 
+* 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
index f382cad1a84393cb6b8bf27abe6cc9b0b76e7e01..ce528237291fc6037b1d30de95a3a489693a1e8b 100644 (file)
@@ -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 | \
index 2edfe3bfb5ecf3ca07ff7b79d7e5d4688ade6985..caa42be1c013b522bb882e5e4c4d7fa1e6be4a6a 100644 (file)
@@ -14,6 +14,7 @@
 
 case $targ in
  *-*-irix* | \
+ *-*-solaris2.[01] | *-*-solaris2.[2-9]* | *-*-solaris2.10* | \
  alpha*-*-osf* | \
  alpha*-*-freebsd* | \
  alpha*-*-kfreebsd*-gnu | \
This page took 0.036026 seconds and 4 git commands to generate.