This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [RFA/insight] testsuite/gdb.exp: Don't set env vars
- To: Keith Seitz <keiths at cygnus dot com>
- Subject: Re: [RFA/insight] testsuite/gdb.exp: Don't set env vars
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Wed, 15 Aug 2001 16:32:59 -0400
- CC: gdb-patches at sources dot redhat dot com, Insight Maling List <insight at sources dot redhat dot com>
- Organization: Red Hat , Inc. - Toronto
- References: <Pine.GSO.4.33.0108151326370.25893-100000@makita.cygnus.com>
Keith Seitz wrote:
>
> Hi,
>
> This is the follow-up to the previous Makefile changes concerning gdbtk's
> imminent separation from local versions of tcl/tk.
>
> Keith
>
Sure. Go ahead.
> ChangeLog
> 2001-08-15 Keith Seitz <keiths@redhat.com>
>
> * lib/gdb.exp (gdbtk_start): Don't set environment
> variables for TCL_LIBRARY and friends. Insight will
> now figure these out for itself.
>
> Patch
> Index: testsuite/lib/gdb.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
> retrieving revision 1.10
> diff -u -p -r1.10 gdb.exp
> --- testsuite/lib/gdb.exp 2001/07/23 19:02:31 1.10
> +++ testsuite/lib/gdb.exp 2001/08/15 20:28:52
> @@ -1665,15 +1665,9 @@ proc gdbtk_start {test} {
> # Find absolute path to test
> set test [to_tcl_path -abs $test]
>
> - # Set environment variables for tcl libraries and such
> + # Set some environment variables
> cd $srcdir
> set abs_srcdir [pwd]
> - set env(GDBTK_LIBRARY) [to_tcl_path -abs [file join $abs_srcdir .. gdbtk library]]
> - set env(TCL_LIBRARY) [to_tcl_path -abs [file join $abs_srcdir .. .. tcl library]]
> - set env(TK_LIBRARY) [to_tcl_path -abs [file join $abs_srcdir .. .. tk library]]
> - set env(TIX_LIBRARY) [to_tcl_path -abs [file join $abs_srcdir .. .. tix library]]
> - set env(ITCL_LIBRARY) [to_tcl_path -abs [file join $abs_srcdir .. .. itcl itcl library]]
> - set env(CYGNUS_GUI_LIBRARY) [to_tcl_path -abs [file join .. $abs_srcdir .. .. libgui library]]
> set env(DEFS) [to_tcl_path -abs [file join $abs_srcdir $subdir defs]]
>
> cd $wd
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9