Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Manoj Iyer <manjo@austin.ibm.com>
To: gdb-patches@sources.redhat.com
Subject: [RFC] gdb/testsuite/gdb.exp not taking environment variable.
Date: Thu, 29 Jul 2004 20:43:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0407291512180.9771@lazy> (raw)


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


             reply	other threads:[~2004-07-29 20:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-29 20:43 Manoj Iyer [this message]
2004-07-29 23:15 ` Michael Chastain
2004-07-31  0:23   ` Manoj Iyer
2004-07-31  2:12     ` Michael Chastain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0407291512180.9771@lazy \
    --to=manjo@austin.ibm.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox