aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Seitz <keiths@cygnus>1997-12-01 20:53:02 +0000
committerKeith Seitz <keiths@cygnus>1997-12-01 20:53:02 +0000
commitdd3dd9184149b3bb4c56a6589140853b84df45df (patch)
tree91b303a9f7f3866a13a6d2959ddb24ccfb00b2ef
parent27e5c6bfb7cd70773be8882c032690ee00125c27 (diff)
downloadgdb-dd3dd9184149b3bb4c56a6589140853b84df45df.zip
gdb-dd3dd9184149b3bb4c56a6589140853b84df45df.tar.gz
gdb-dd3dd9184149b3bb4c56a6589140853b84df45df.tar.bz2
* gdbtk.c: move include of "guitcl.h" back out of IDE ifdef
(gdbtk_init): move ide_initialize_paths out of IDE ifdef * configure.in (TCL_LIBS, CONFIG_DEPS): add IDE libraries for all builds (CONFIG_OBS): remove tracepoint.o, which should always be included * configure: regenerate * Makefile.in (install-only): ALWAYS install the new gdbtk (REMOTE_OBS): add tracepoint.o
-rw-r--r--gdb/ChangeLog18
-rwxr-xr-xgdb/configure22
-rw-r--r--gdb/configure.in6
-rw-r--r--gdb/gdbtk.c4
4 files changed, 33 insertions, 17 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index be5dba5..40c1142 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,19 @@
+Mon Dec 1 10:19:44 1997 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c: move include of "guitcl.h" back out of IDE ifdef
+ (gdbtk_init): move ide_initialize_paths out of IDE ifdef
+
+ * configure.in (TCL_LIBS, CONFIG_DEPS): add IDE libraries for all
+ builds
+ (CONFIG_OBS): remove tracepoint.o, which should always be included
+
+ * configure: regenerate
+
+ * Makefile.in (install-only): ALWAYS install the new gdbtk
+ (REMOTE_OBS): add tracepoint.o
+
+ * ChangeLog: tidy up 11/26 entry
+
Thu Nov 27 09:07:18 1997 Michael Meissner <meissner@cygnus.com>
* configure.in ({TCL_LIBS,CONFIG_DEPS}): Don't add IDE libraries
@@ -33,7 +49,7 @@ Wed Nov 26 11:33:09 1997 Keith Seitz <keiths@onions.cygnus.com>
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name
- * Merge (lots) with foundry-971118-build
+ * Merge (lots) with foundry's 11/18/97 build
* Makefile.in (install-only): install the new gdbtk, not the old
diff --git a/gdb/configure b/gdb/configure
index 3031884..08e8bbb 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -1,7 +1,7 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.12.1
+# Generated automatically using autoconf version 2.12
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
@@ -348,7 +348,7 @@ EOF
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 2.12.1"
+ echo "configure generated by autoconf version 2.12"
exit 0 ;;
-with-* | --with-*)
@@ -907,7 +907,7 @@ esac
# Make sure we can run config.sub.
-if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
+if $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
@@ -919,14 +919,14 @@ case "$host_alias" in
NONE)
case $nonopt in
NONE)
- if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
+ if host_alias=`$ac_config_guess`; then :
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
fi ;;
*) host_alias=$nonopt ;;
esac ;;
esac
-host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
+host=`$ac_config_sub $host_alias`
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
@@ -944,7 +944,7 @@ NONE)
esac ;;
esac
-target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
+target=`$ac_config_sub $target_alias`
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
@@ -962,7 +962,7 @@ NONE)
esac ;;
esac
-build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
+build=`$ac_config_sub $build_alias`
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
@@ -3098,14 +3098,14 @@ fi
TCL_LIBS='$(LIBIDE) $(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
CONFIG_DEPS='$(LIBIDE) $(IDE_DEPS) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
else
- TCL_LIBS='$(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
- CONFIG_DEPS='$(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
+ TCL_LIBS='$(LIBIDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
+ CONFIG_DEPS='$(LIBIDE) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
fi
# Yes, the ordering seems wrong here. But it isn't.
# TK_LIBS is the list of libraries that need to be linked
# after Tcl/Tk.
LIBS="${LIBS} ${TCL_LIBS} ${TK_LIBS}"
- CONFIG_OBS="${CONFIG_OBS} gdbtk.o tracepoint.o"
+ CONFIG_OBS="${CONFIG_OBS} gdbtk.o"
if test x$gdb_cv_os_cygwin32 = xyes; then
WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32"
@@ -3477,7 +3477,7 @@ do
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "$CONFIG_STATUS generated by autoconf version 2.12.1"
+ echo "$CONFIG_STATUS generated by autoconf version 2.12"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
diff --git a/gdb/configure.in b/gdb/configure.in
index 6fb63ea..8512fc9 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -354,14 +354,14 @@ if test "${enable_gdbtk}" = "yes"; then
TCL_LIBS='$(LIBIDE) $(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
CONFIG_DEPS='$(LIBIDE) $(IDE_DEPS) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
else
- TCL_LIBS='$(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
- CONFIG_DEPS='$(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
+ TCL_LIBS='$(LIBIDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
+ CONFIG_DEPS='$(LIBIDE) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
fi
# Yes, the ordering seems wrong here. But it isn't.
# TK_LIBS is the list of libraries that need to be linked
# after Tcl/Tk.
LIBS="${LIBS} ${TCL_LIBS} ${TK_LIBS}"
- CONFIG_OBS="${CONFIG_OBS} gdbtk.o tracepoint.o"
+ CONFIG_OBS="${CONFIG_OBS} gdbtk.o"
if test x$gdb_cv_os_cygwin32 = xyes; then
WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32"
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index f5ca636..5ec9c40 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -38,10 +38,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <tk.h>
#include <itcl.h>
#include <tix.h>
+#include "guitcl.h"
#ifdef IDE
/* start-sanitize-ide */
-#include "guitcl.h"
#include "event.h"
#include "idetcl.h"
#include "ilutk.h"
@@ -1759,10 +1759,10 @@ gdbtk_init ( argv0 )
make_final_cleanup (gdbtk_cleanup, NULL);
/* Initialize the Paths variable. */
-#ifdef IDE
if (ide_initialize_paths (interp, "gdbtcl") != TCL_OK)
error ("ide_initialize_paths failed: %s", interp->result);
+#ifdef IDE
/* start-sanitize-ide */
/* Find the directory where we expect to find idemanager. We ignore
errors since it doesn't really matter if this fails. */