This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFC] gdb/testsuite/gdb.exp not taking environment variable.
- From: Manoj Iyer <manjo at austin dot ibm dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 29 Jul 2004 15:14:25 -0500 (CDT)
- Subject: [RFC] gdb/testsuite/gdb.exp not taking environment variable.
hi,
gdb/testsuite/gdb.exp is not taking the environment variable
TOOL_EXECUTABLE, here is a simple fix that does that.
--- gdb_test1/src/gdb/testsuite/lib/gdb.exp 2004-06-14
10:29:30.000000000 -0500
+++ gdb_test/src/gdb/testsuite/lib/gdb.exp 2004-07-29
15:25:50.000000000 -0500
@@ -29,8 +29,8 @@
global GDB
-if [info exists TOOL_EXECUTABLE] {
- set GDB $TOOL_EXECUTABLE;
+if [info exists env(TOOL_EXECUTABLE)] {
+ set GDB $env(TOOL_EXECUTABLE);
}
if ![info exists GDB] {
if ![is_remote host] {
Thanks
----- ----
Manoj Iyer
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cognito ergo sum +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++