aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config/udi.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/config/udi.exp')
-rw-r--r--gdb/testsuite/config/udi.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/config/udi.exp b/gdb/testsuite/config/udi.exp
index ac786d1..3a5d778 100644
--- a/gdb/testsuite/config/udi.exp
+++ b/gdb/testsuite/config/udi.exp
@@ -30,10 +30,8 @@ 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
@@ -89,6 +87,9 @@ proc gdb_load { arg } {
# UDICONF enviroment variable is set.
#
proc gdb_start { } {
+ global env;
+
+ set env(UDICONF) [target_info mondfe,udi_soc];
default_gdb_start
verbose "Setting up target, Please wait..."
gdb_target_udi