diff options
author | Pedro Alves <palves@redhat.com> | 2014-10-17 11:18:59 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-10-17 11:18:59 +0100 |
commit | 32a8097ba5dd6ddb71c0fb2fccbac262c371846a (patch) | |
tree | e27e608bcc1e35761015414d8243a1afb559d8ff /gdb/config | |
parent | 80134cf5b3ca1f75a96af1856fdaad29ad1f57aa (diff) | |
download | gdb-32a8097ba5dd6ddb71c0fb2fccbac262c371846a.zip gdb-32a8097ba5dd6ddb71c0fb2fccbac262c371846a.tar.gz gdb-32a8097ba5dd6ddb71c0fb2fccbac262c371846a.tar.bz2 |
Delete Tru64 support
This commit does most of the mechanical removal. IOW, the easy part.
procfs.c isn't touched beyond removing a couple obvious bits that are
guarded by a couple macros defined in config/alpha/nm-osf3.h. Going
beyond that for procfs.c & co would be a harder excision that
potentially affects Solaris.
Some comments in the generic alpha code ABIs that may still be
relevant and I wouldn't know what to do with them. That can always be
done on a separate pass, preferably by someone who can test on alpha.
A couple other spots have references to OSF/Tru64 and related files
being removed, but it felt like removing them would make things worse,
not better. We can revisit those when we next need to touch that
code.
I didn't remove a reference to osf in testsuite/lib/future.exp, as I
believe that code is imported from DejaGNU.
Built and tested on x86_64 Fedora 20, with --enable-targets=all.
Tested that building for --target=alpha-osf3 on x86_64 Fedora 20
fails with:
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
*** Configuration alpha-unknown-osf3 is obsolete.
*** Support has been REMOVED.
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `build-osf'
make: *** [all] Error 2
gdb/
2014-10-17 Pedro Alves <palves@redhat.com>
* Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
(HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
(ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
solib-osf.c.
* NEWS: Mention that support for alpha*-*-osf* has been removed.
* ada-lang.h [__alpha__ && __osf__]
(ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
* alpha-nat.c, alpha-osf1-tdep.c: Delete files.
* alpha-tdep.c (alpha_gdbarch_init): Remove reference to
GDB_OSABI_OSF1.
* config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
files.
* config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
(config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
* configure: Regenerate.
* configure.ac: Remove references to osf.
* configure.host: Handle alpha*-*-osf* in the obsolete hosts
section. Remove all other references to osf.
* configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
Remove all other references to osf.
* dec-thread.c: Delete file.
* defs.h (GDB_OSABI_OSF1): Delete.
* inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
defined.
* osabi.c (gdb_osabi_names): Delete "OSF/1".
* procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
Delete code.
(unconditionally_kill_inferior)
[PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
* solib-osf.c: Delete file.
gdb/testsuite/
2014-10-17 Pedro Alves <palves@redhat.com>
* gdb.base/callfuncs.exp: emove references to osf.
* gdb.base/sigall.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
* gdb.mi/non-stop.c: Likewise.
* gdb.mi/pthreads.c: Likewise.
* gdb.reverse/sigall-precsave.exp: Likewise.
* gdb.reverse/sigall-reverse.exp: Likewise.
* gdb.threads/pthreads.c: Likewise.
* gdb.threads/pthreads.exp: Likewise.
gdb/doc/
2014-10-17 Pedro Alves <palves@redhat.com>
* gdb.texinfo (Ada Tasks and Core Files): Delete mention of Tru64.
(SVR4 Process Information): Delete mention of OSF/1.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/alpha/alpha-osf3.mh | 7 | ||||
-rw-r--r-- | gdb/config/alpha/nm-osf3.h | 35 | ||||
-rw-r--r-- | gdb/config/djgpp/fnchange.lst | 3 |
3 files changed, 0 insertions, 45 deletions
diff --git a/gdb/config/alpha/alpha-osf3.mh b/gdb/config/alpha/alpha-osf3.mh deleted file mode 100644 index aa63dc4..0000000 --- a/gdb/config/alpha/alpha-osf3.mh +++ /dev/null @@ -1,7 +0,0 @@ -# Host: Little-endian Alpha running OSF/1-3.x and higher using procfs -NAT_FILE= nm-osf3.h -NATDEPFILES= alpha-nat.o fork-child.o \ - solib-osf.o procfs.o proc-api.o proc-events.o proc-flags.o \ - proc-why.o dec-thread.o -HAVE_NATIVE_GCORE_HOST = 1 -NAT_CLIBS= -lpthreaddebug diff --git a/gdb/config/alpha/nm-osf3.h b/gdb/config/alpha/nm-osf3.h deleted file mode 100644 index a171f5d..0000000 --- a/gdb/config/alpha/nm-osf3.h +++ /dev/null @@ -1,35 +0,0 @@ -/* Native definitions for alpha running OSF/1-3.x and higher, using procfs. - Copyright (C) 1995-2014 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -/* Number of traps that happen between exec'ing the shell to run an - inferior, and when we finally get to the inferior code, not - counting the exec for the shell. This is 1 on most - implementations. */ -#define START_INFERIOR_TRAPS_EXPECTED 2 - -/* Don't trace faults under OSF/1, rely on the posting of the appropriate - signal if fault tracing is disabled. - Tracing T_IFAULT under Alpha OSF/1 causes a `floating point enable' - fault from which we cannot continue (except by disabling the - tracing). - And as OSF/1 doesn't provide the standard fault definitions, the - mapping of faults to appropriate signals in procfs_wait is difficult. */ -#define PROCFS_DONT_TRACE_FAULTS - -/* Work around some peculiarities in the OSF/1 procfs implementation. */ -#define PROCFS_NEED_CLEAR_CURSIG_FOR_KILL diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst index cbf11c6..5194850 100644 --- a/gdb/config/djgpp/fnchange.lst +++ b/gdb/config/djgpp/fnchange.lst @@ -132,9 +132,6 @@ @V@/gdb/armnbsd-nat.c @V@/gdb/armnbd-nat.c @V@/gdb/armnbsd-tdep.c @V@/gdb/armnbd-tdep.c @V@/gdb/c-exp.tab.c @V@/gdb/c-exp_tab.c -@V@/gdb/config/alpha/alpha-osf1.mh @V@/gdb/config/alpha/alphosf1.mh -@V@/gdb/config/alpha/alpha-osf2.mh @V@/gdb/config/alpha/alphosf2.mh -@V@/gdb/config/alpha/alpha-osf3.mh @V@/gdb/config/alpha/alphosf3.mh @V@/gdb/config/alpha/tm-alphalinux.h @V@/gdb/config/alpha/tm-alplinux.h @V@/gdb/config/i386/nm-cygwin64.h @V@/gdb/config/i386/nm-cyg64.h @V@/gdb/config/i386/nm-linux64.h @V@/gdb/config/i386/nm-lx64.h |