aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus>1997-03-23 04:01:48 +0000
committerBob Manson <manson@cygnus>1997-03-23 04:01:48 +0000
commitfb9eb1371d3c52afda3daa1401837c462404e6ed (patch)
tree5f330b75fef6741ff42feadf08e9ff16aae5201b /gdb/testsuite/config
parent09f0789e93d63e5de5e07e245aa956a9df82da42 (diff)
downloadgdb-fb9eb1371d3c52afda3daa1401837c462404e6ed.zip
gdb-fb9eb1371d3c52afda3daa1401837c462404e6ed.tar.gz
gdb-fb9eb1371d3c52afda3daa1401837c462404e6ed.tar.bz2
* config/udi.exp(gdb_target_udi): Make sure UDICONF is set
properly before starting gdb.
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r--gdb/testsuite/config/udi.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/config/udi.exp b/gdb/testsuite/config/udi.exp
index 6ec7c3f..ac786d1 100644
--- a/gdb/testsuite/config/udi.exp
+++ b/gdb/testsuite/config/udi.exp
@@ -30,8 +30,10 @@ proc gdb_target_udi { } {
global gdb_prompt
global verbose
global exit_status
+ global env;
set targetname [target_info mondfe,name];
+ set env(UDICONF) [target_info mondfe,udi_soc];
# set targets hostname
send_gdb "target udi $targetname\n"
set timeout 60
@@ -96,7 +98,6 @@ proc gdb_start { } {
# gdb_exit -- exit gdb
#
proc gdb_exit { } {
- slay isstip
catch default_gdb_exit
set in [open [concat "|ls -F"] r]
while {[gets $in line]>-1} {