forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
27
gdb/configure
vendored
27
gdb/configure
vendored
@@ -7062,33 +7062,6 @@ _ACEOF
|
||||
fi
|
||||
|
||||
|
||||
# On alpha-osf, it appears that libtermcap and libcurses are not compatible.
|
||||
# There is a very specific comment in /usr/include/curses.h explaining that
|
||||
# termcap routines built into libcurses must not be used.
|
||||
#
|
||||
# The symptoms we observed so far is GDB unexpectedly changing
|
||||
# the terminal settings when tgetent is called - this is particularly
|
||||
# visible as the output is missing carriage returns, and so rapidly
|
||||
# becomes very hard to read.
|
||||
#
|
||||
# The readline configure script has already decided that libtermcap
|
||||
# was enough for its purposes, and so decided to build readline using
|
||||
# libtermcap. Since the TUI mode requires curses, building GDB with
|
||||
# TUI enabled results in both libraries to be used at the same time,
|
||||
# which is not allowed. This basically means that GDB with TUI is
|
||||
# broken on alpha-osf.
|
||||
|
||||
case $host_os in
|
||||
osf* )
|
||||
if test x"$enable_tui" = xyes; then
|
||||
as_fn_error "Building GDB with TUI mode is not supported on this host" "$LINENO" 5
|
||||
fi
|
||||
if test x"$enable_tui" = xauto; then
|
||||
enable_tui=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# For the TUI, we need enhanced curses functionality.
|
||||
if test x"$enable_tui" != xno; then
|
||||
prefer_curses=yes
|
||||
|
||||
Reference in New Issue
Block a user