* configure.in ({TCL_LIBS,CONFIG_DEPS}): Don't add IDE libraries
if not --enable-ide.
+ (CONFIG_OBS): Add tracepoint.o to list if --enable-gdbtk.
* configure: Regenerate.
* gdbtk.c (gdb_get_breakpoint_info): Add missing filename
argument.
(toplevel): Move include of guitcl.h into #ifdef IDE region.
+ (gdbtk_init): Move ide_initialize_paths call into #ifdef IDE
+ section.
+
+ * Makefile.in (tracepoint_h): New macro for tracepoint.h
+ includes.
+ (tracepoint.o): Add rule to build.
+ (gdbtk.o): Update dependencies.
Wed Nov 26 22:59:04 1997 Jeffrey A Law (law@cygnus.com)
defs_h = defs.h xm.h tm.h nm.h config.status config.h
inferior_h = inferior.h $(breakpoint_h)
+tracepoint_h = tracepoint.h
# Header files that need to have srcdir added. Note that in the cases
# where we use a macro like $(gdbcmd_h), things are carefully arranged
# start-sanitize-gdbtk
gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
- $(bfd_h) symfile.h objfiles.h target.h gdb_string.h
+ $(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h)
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
$(srcdir)/gdbtk.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+
+tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \
+ $(gdbtypes_h) $(expression_h) $(gdbcmd_h) $(value_h) target.h \
+ language.h gdb_string.h $(readline_headers)
# end-sanitize-gdbtk
gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
# 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"
+ CONFIG_OBS="${CONFIG_OBS} gdbtk.o tracepoint.o"
if test x$gdb_cv_os_cygwin32 = xyes; then
WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32"
# 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"
+ CONFIG_OBS="${CONFIG_OBS} gdbtk.o tracepoint.o"
if test x$gdb_cv_os_cygwin32 = xyes; then
WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32"
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. */