diff options
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index c921d91..f7400ab 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.85 2001/11/09 07:11:26 mdejong Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.86 2001/11/11 03:16:10 mdejong Exp $ VERSION = @TCL_VERSION@ @@ -474,6 +474,15 @@ shell: tclsh TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ ./tclsh $(SCRIPT) +# This target can be used to run tclsh inside either gdb or insight +gdb: tclsh + @echo "set env LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}" > gdb.run + @echo "set env LIBPATH=`pwd`:${LIBPATH}" >> gdb.run + @echo "set env SHLIB_PATH=`pwd`:${SHLIB_PATH}" >> gdb.run + @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run + gdb ./tclsh --command=gdb.run + rm gdb.run + # The following target outputs the name of the top-level source directory # for Tcl (it is used by Tk's configure script, for example). The # .NO_PARALLEL line is needed to avoid problems under Sun's "pmake". |