Obsolete Solaris 10 support

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.
This commit is contained in:
Rainer Orth 2019-11-04 18:13:14 +01:00
parent 85b80b0f9b
commit dae8b3eb23
5 changed files with 17 additions and 3 deletions

View 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> 2019-11-01 Tom Tromey <tromey@adacore.com>
* utils.c (print_sys_errmsg): Simplify. * utils.c (print_sys_errmsg): Simplify.

View File

@ -313,10 +313,10 @@ the native maintainer when resolving ABI issues.
s390 --target=s390-linux-gnu ,-Werror s390 --target=s390-linux-gnu ,-Werror
Andreas Arnez arnez@linux.ibm.com Andreas Arnez arnez@linux.ibm.com
score --target=score-elf score --target=score-elf
sh --target=sh-elf ,-Werror sh --target=sh-elf ,-Werror
sparc --target=sparc64-solaris2.10 ,-Werror sparc --target=sparcv9-solaris2.11 ,-Werror
(--target=sparc-elf broken) (--target=sparc-elf broken)
tic6x --target=tic6x-elf ,-Werror tic6x --target=tic6x-elf ,-Werror

View File

@ -396,6 +396,11 @@ focus, winheight, +, -, >, <
TI PRU pru-*-elf 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 *** Changes in GDB 8.3
* GDB and GDBserver now support access to additional registers on * GDB and GDBserver now support access to additional registers on

View File

@ -20,7 +20,7 @@ case $host in
vax-*-netbsdelf*) vax-*-netbsdelf*)
;; ;;
*-*-irix* | \ *-*-irix* | \
*-*-solaris2.[01] | *-*-solaris2.[2-9]* | \ *-*-solaris2.[01] | *-*-solaris2.[2-9]* | *-*-solaris2.10* | \
alpha*-*-osf* | \ alpha*-*-osf* | \
alpha*-*-freebsd* | \ alpha*-*-freebsd* | \
alpha*-*-kfreebsd*-gnu | \ alpha*-*-kfreebsd*-gnu | \

View File

@ -14,6 +14,7 @@
case $targ in case $targ in
*-*-irix* | \ *-*-irix* | \
*-*-solaris2.[01] | *-*-solaris2.[2-9]* | *-*-solaris2.10* | \
alpha*-*-osf* | \ alpha*-*-osf* | \
alpha*-*-freebsd* | \ alpha*-*-freebsd* | \
alpha*-*-kfreebsd*-gnu | \ alpha*-*-kfreebsd*-gnu | \