Hi Pedro, > On 09/21/2017 03:30 PM, Rainer Orth wrote: > >> This bad interaction between gnulib and fixed Solaris 9 headers may be >> fixable, but even trying to seems like a total waste of time. >> >> How is obsoletion/removal handled in gdb? In gcc, in one release a >> target is obsoleted and trying to build it yields an error which can be >> overridden with --enable-obsolete. Unless someone steps up to continue >> maintenance, the code is removed in the next release. > > GDB is more aggressive: > > https://sourceware.org/gdb/wiki/Internals%20Obsoleting-code > > For Solaris, I believe it's been a while that the only maintenance > we've seen comes from you. Which kind of makes you the de-facto > maintainer. :-) Since gcc obsoleted Solaris 9 years ago, and nobody I feared that much ;-) > all these years stepped forward, I think we should be able to just drop > it. I think you've proposed this in the past, even. I very Indeed: I found a line or two of notes about it. Must have been in the context of removing support for unstructured /proc in procfs.c and friends. I've dusted off and completed that patch as well... > much doubt anyone would step forward this time. Indeed. I've opened a tracking PR gdb/22185 and produced a first patch. It will need a bit more testing (especially on Linux which also uses proc-service.c), but it's basically straightforward. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University 2017-09-22 Rainer Orth 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 : Remove. : Fold into ... : ... this. Move common settings to default section. * configure.tgt : Rename to ... : ... this. : Remove. : Remove. * configure.ac: Remove wctype in libw check. (_MSE_INT_H): Don't define on Solaris 7-9. (PROC_SERVICE_IS_OLD): Remove. (HAVE_THREAD_DB_LIB): Don't consider libthread_db.so.0 any longer. * 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.