Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>

* Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and
	IDE configuration information.

	* gdbtk.c (breakpoint_notify): Send address, linenumber and
	filename when a breakpoint is set.  Avoids call to bp_info.
 	(gdbtk_init): Call Tcl_FindExecutable(). Add code to handle
	Itcl, Tix and IDE initialization.

	* defs.h (init_ui_hook): Change prototype to accept one arg.

	* main.c (gdb_init): Change prototype to accept one arg.

	* top.c (gdb_init): Accepts one argument which it uses to
	call (*init_ui_hook), which will be gdbtk_init(). This is
 	used for calling Tcl_FindExecutable().

	* gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to
	accept variable number of args for compatibility with
	cchanges in gdbtk.c.

	* configure: Regenerated.

	* gdbtcl/tclIndex: Regenerated.
This commit is contained in:
Martin Hunt
1997-07-10 07:15:26 +00:00
parent 67bc13a478
commit 2476848aaf
7 changed files with 383 additions and 125 deletions

View File

@@ -239,6 +239,16 @@ esac])
# end-sanitize-gm
# start-sanitize-gdbtk
ENABLE_IDE=
AC_ARG_ENABLE(ide, [ --enable-ide Enable IDE support])
if test "$enable_ide" = yes; then
enable_ide=yes
ENABLE_IDE=1
else
enable_ide=no
fi
AC_SUBST(ENABLE_IDE)
ENABLE_GDBTK=
AC_ARG_ENABLE(gdbtk,
@@ -292,11 +302,17 @@ if test "${enable_gdbtk}" = "yes"; then
CY_AC_LOAD_TKCONFIG
CY_AC_PATH_TCLH
CY_AC_PATH_TKH
CY_AC_PATH_ITCLH
CY_AC_PATH_TIX
ENABLE_GDBTK=1
# Include some libraries that Tcl and Tk want.
TCL_LIBS='$(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
if test "${enable_ide}" = "yes"; then
TCL_LIBS='$(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
else
TCL_LIBS='$(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
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.