Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC] gdb/testsuite/gdb.exp not taking environment variable.
@ 2004-07-29 20:43 Manoj Iyer
  2004-07-29 23:15 ` Michael Chastain
  0 siblings, 1 reply; 4+ messages in thread
From: Manoj Iyer @ 2004-07-29 20:43 UTC (permalink / raw)
  To: gdb-patches


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                                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-31  2:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29 20:43 [RFC] gdb/testsuite/gdb.exp not taking environment variable Manoj Iyer
2004-07-29 23:15 ` Michael Chastain
2004-07-31  0:23   ` Manoj Iyer
2004-07-31  2:12     ` Michael Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox