From: Jason Molenda Date: Mon, 7 Feb 2000 00:34:34 +0000 (+0000) Subject: Apply patches to support Insight by hand from insight-2000-02-04 snapshot. X-Git-Tag: gdb_5_0-2000-04-10-branchpoint~642 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afb8d725bbfec790d5112ab30fb4fee38d5da686;p=external%2Fbinutils.git Apply patches to support Insight by hand from insight-2000-02-04 snapshot. --- diff --git a/ChangeLog b/ChangeLog index 666852f..6e14478 100644 --- a/ChangeLog +++ b/ChangeLog @@ -741,6 +741,11 @@ Tue May 5 18:02:24 1998 Ian Lance Taylor * Makefile.in (EXTRA_GCC_FLAGS): Remove backslash at end; Solaris `make' causes it to continue to next definition. +Tue Apr 28 16:24:24 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * Makefile.in (install-gdbtk): Call this 'install-gdb' so that + the right GUI libraries and files are installed along with GDB. + Tue Apr 28 18:11:24 1998 Ian Lance Taylor * configure.in: Change alpha to alpha* in several places. @@ -842,6 +847,10 @@ Thu Mar 26 12:53:20 1998 Tom Tromey (noconfigdirs) [various cases]: Likewise. (host_libs): Added intl. +Thu Mar 26 15:00:11 1998 Keith Seitz + + * configure: Do not disable building gdbtk for cygwin32 hosts. + Wed Mar 25 11:49:12 1998 Jason Molenda (crash@bugshack.cygnus.com) * Makefile.in: Revert yesterday's change. @@ -1290,6 +1299,11 @@ Thu Sep 18 21:43:23 1997 Alexandre Oliva (all-bootstrap): Remove outdated and confusing target. (bootstrap, bootstrap2, bootstrap3): Don't pass BOOT_CFLAGS down. +Thu Sep 18 15:37:42 1997 Andrew Cagney + + * configure (tooldir): enable_gdbtk=YES for cygwin32, NO for + windows. Consistent with gdb/configure. + 1997-09-15 02:37 Ulrich Drepper @@ -2383,6 +2397,7 @@ Mon Jun 17 16:34:46 1996 Jason Merrill Sat Jun 15 17:13:25 1996 Geoffrey Noer + * configure: enable_gdbtk=no for cygwin32-hosted toolchains * configure.in: remove make from disable-if-Can-Cross list enable gdb if ${host} and ${target} are cygwin32 @@ -2775,6 +2790,12 @@ Fri Jan 12 15:25:35 1996 Ian Lance Taylor * configure.in: Make sure that ${CC} can be used to compile an executable. +Sat Jan 6 07:23:33 1996 Michael Meissner + + * Makefile.in (all-gdb): Depend on $(GDB_TK). + * configure (GDB_TK): Set GDB_TK to either "all-tcl all-tk" or + nothing depending on whether gdbtk is being built. + Wed Jan 3 17:54:41 1996 Doug Evans * Makefile.in (newlib.tar.gz): Delete building of newlib's info files. @@ -3372,6 +3393,11 @@ Mon Aug 7 09:21:35 1995 Doug Evans * configure.in (i386-go32 host): Fix typo (deja-gnu -> dejagnu). (i386-win32 host): Likewise. Don't build readline. +Sat Aug 5 09:51:49 1995 Fred Fish + + * Makefile.in (GDBTK_SUPPORT_DIRS): Define and pass as part of + SUPPORT_FILES to submakes. + Fri Aug 4 13:04:36 1995 Fred Fish * Makefile.in (GDB_SUPPORT_DIRS): Add utils. @@ -3550,6 +3576,11 @@ Tue Apr 11 18:55:40 1995 Doug Evans * configure.in: Recognize --with-newlib. (sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target. +Mon Apr 10 14:38:20 1995 Jason Molenda (crash@phydeaux.cygnus.com) + + * Makefile.in: move {all,check,install}-gdb from *_MODULES + to *_X11_MODULES due to gdbtk needing X include files et al. + Mon Apr 10 11:42:22 1995 Stan Shebs Merge in support for Mac MPW as a host. diff --git a/Makefile.in b/Makefile.in index f4e34a4..2d14306 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1632,6 +1632,7 @@ configure-target-libiberty: $(ALL_GCC) all-target-libiberty: configure-target-libiberty all-gcc all-ld all-target-newlib all-target: $(ALL_TARGET_MODULES) install-target: $(INSTALL_TARGET_MODULES) +install-gdb: install-tcl install-tk install-itcl install-tix install-libgui ### other supporting targets MAKEDIRS= \ @@ -1790,9 +1791,10 @@ gnats.tar.bz2: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats .PHONY: gdb.tar.bz2 GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils intl +GDBTK_SUPPORT_DIRS= `if [ -d tcl -a -d tk ] ; then echo tcl tk itcl tix libgui; fi` gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb $(MAKE) -f Makefile.in taz TOOL=gdb \ - SUPPORT_FILES="$(GDB_SUPPORT_DIRS)" + SUPPORT_FILES="$(GDB_SUPPORT_DIRS) $(GDBTK_SUPPORT_DIRS)" .PHONY: newlib.tar.bz2 NEWLIB_SUPPORT_DIRS=libgloss diff --git a/configure b/configure index bc7b650..499925a 100755 --- a/configure +++ b/configure @@ -1060,6 +1060,21 @@ export CXX export CFLAGS export CXXFLAGS +# FIXME: This should be in configure.in, not configure +case "$host" in + *go32*) + enable_gdbtk=no ;; + *msdosdjgpp*) + enable_gdbtk=no ;; +esac + +# FIXME: This should be in configure.in, not configure +# Determine whether gdb needs tk/tcl or not. +if [ "$enable_gdbtk" != "no" ]; then + GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui" +else + GDB_TK="" +fi for subdir in . ${subdirs} ; do @@ -1401,6 +1416,8 @@ EOF -e "s:^DEFAULT_M4[ ]*=.*$:DEFAULT_M4 = ${DEFAULT_M4}:" \ ${subdir}/Makefile.tem >> ${Makefile} + sed -e "s:^GDB_TK[ ]*=.*$:GDB_TK = ${GDB_TK}:" ${Makefile} >${Makefile}.tem + mv -f ${Makefile}.tem ${Makefile} # If this is a Canadian Cross, preset the values of many more # tools.