diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2017-09-26 15:19:10 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2017-09-26 15:19:10 +0200 |
commit | 281c4447738409888d9659924937da182a65b4e1 (patch) | |
tree | 141ef91395ad15bbd83f88b62e5b9b7635754b3e /gdb/config.in | |
parent | 39b06c208fb7b7edb98866252cbd05ba0918f666 (diff) | |
download | gdb-281c4447738409888d9659924937da182a65b4e1.zip gdb-281c4447738409888d9659924937da182a65b4e1.tar.gz gdb-281c4447738409888d9659924937da182a65b4e1.tar.bz2 |
Remove support for Solaris < 10 (PR gdb/22185)
Given that GCC has obsoleted/removed support for Solaris 9 in GCC 4.9/5 in 2013:
https://gcc.gnu.org/gcc-4.9/changes.html
https://gcc.gnu.org/ml/gcc-patches/2013-05/msg00728.html
and the last gdb version that can be compiled with gcc 4.9 is 7.12.1 only when
configured with --disable-build-with-cxx, it's time to obsolete/remove support
for Solaris < 10.
This patch does this, simplifying configure.nat along the way (only a single
sol2 configuration with variants for i386 and sparc).
Some configure checks for older Solaris versions can go, too, and the check
for libthread_db.so.1 removed:
* Since Solaris 10, dlopen has moved to libc and libdl.so is just a
filter on ld.so.1, so no need to check.
* $RDYNAMIC is already handled above (and is a no-op with Solaris ld
anyway).
Both proc-service.c and sol-thread.c lose support for (Solaris-only)
PROC_SERVICE_IS_OLD.
The attached revised patch has been tested on sparcv9-sun-solaris2.10,
sparcv9-sun-solaris2.11.4, amd64-pc-solaris2.10, amd64-pc-solaris2.11.4,
and x86_64-pc-linux-gnu.
I've also started an i386-pc-solaris2.9 build to check that it really
stops as expected.
PR gdb/22185
* configure.host <*-*-solaris2.[01], *-*-solaris2.[2-9]*>: Mark as
obsolete.
Use gdb_host sol2 for i[34567]86-*-solaris2*, x86_64-*-solaris2*.
Remove i386sol2 support.
* configure.nat <i386sol2>: Remove.
<sol2-64>: Fold into ...
<sol2>: ... this.
Move common settings to default section.
Add sol-thread.o.
* configure.tgt <i[34567]86-*-solaris2.1[0-9]*,
x86_64-*-solaris2.1[0-9]*>: Rename to ...
<i[34567]86-*-solaris2*, x86_64-*-solaris2*>: ... this.
<i[34567]86-*-solaris*>: Remove.
<sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*>: Remove.
* configure.ac: Remove wctype in libw check.
(_MSE_INT_H): Don't define on Solaris 7-9.
<solaris*>: Remove libthread_db.so.1 check.
* configure: Regenerate.
* config.in: Regenerate.
* proc-service.c: Remove PROC_SERVICE_IS_OLD handling.
(gdb_ps_prochandle_t, gdb_ps_read_buf_t, gdb_ps_write_buf_t)
(gdb_ps_size_t): Remove.
Use base types in users.
* sol-thread.c: Likewise, also for gdb_ps_addr_t.
* NEWS (Changes since GDB 8.0): Document Solaris 2.0-9 removal.
Diffstat (limited to 'gdb/config.in')
-rw-r--r-- | gdb/config.in | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/config.in b/gdb/config.in index 4a40956..9fa90af 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -231,9 +231,6 @@ /* Define if you have the babeltrace library. */ #undef HAVE_LIBBABELTRACE -/* Define to 1 if you have the `dl' library (-ldl). */ -#undef HAVE_LIBDL - /* Define if you have the expat library. */ #undef HAVE_LIBEXPAT @@ -267,9 +264,6 @@ /* Define to 1 if you have the <libunwind-ia64.h> header file. */ #undef HAVE_LIBUNWIND_IA64_H -/* Define to 1 if you have the `w' library (-lw). */ -#undef HAVE_LIBW - /* Define to 1 if you have the <linux/perf_event.h> header file. */ #undef HAVE_LINUX_PERF_EVENT_H @@ -567,9 +561,6 @@ /* Define to 1 if you have the <thread_db.h> header file. */ #undef HAVE_THREAD_DB_H -/* Define if using Solaris thread debugging. */ -#undef HAVE_THREAD_DB_LIB - /* Define to 1 if you have the `ttrace' function. */ #undef HAVE_TTRACE @@ -667,10 +658,6 @@ /* Define to 1 if the "%ll" format works to print long longs. */ #undef PRINTF_HAS_LONG_LONG -/* Define if <proc_service.h> on solaris uses int instead of size_t, and - assorted other type changes. */ -#undef PROC_SERVICE_IS_OLD - /* Define to the type of arg 1 for ptrace. */ #undef PTRACE_TYPE_ARG1 @@ -810,10 +797,6 @@ /* Define to 1 if on MINIX. */ #undef _MINIX -/* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on Solaris - 2.[789] when using GCC. */ -#undef _MSE_INT_H - /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE |