Add tracepoint.o to gdbtk builds
This commit is contained in:
parent
b2b1c5da2e
commit
8d21d88c08
@ -2,11 +2,19 @@ Thu Nov 27 09:07:18 1997 Michael Meissner <meissner@cygnus.com>
|
||||
|
||||
* 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)
|
||||
|
||||
|
@ -454,6 +454,7 @@ gdbcmd_h = gdbcmd.h $(command_h)
|
||||
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
|
||||
@ -1133,10 +1134,14 @@ fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
|
||||
|
||||
# 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) \
|
||||
|
2
gdb/configure
vendored
2
gdb/configure
vendored
@ -3105,7 +3105,7 @@ fi
|
||||
# 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"
|
||||
|
@ -361,7 +361,7 @@ if test "${enable_gdbtk}" = "yes"; then
|
||||
# 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"
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user