aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
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 /gdb/gdbtk.c
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
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c4
1 files changed, 2 insertions, 2 deletions
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. */