From: Bob Manson Date: Sun, 23 Mar 1997 04:41:14 +0000 (+0000) Subject: Moved change from gdb_target_udi to gdb_start. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d400231d9f5cb1db7c6effc5558619978792023;p=binutils-gdb.git Moved change from gdb_target_udi to gdb_start. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1f6a7a8be45..8552d1a545c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,6 +1,6 @@ Sat Mar 22 19:50:25 1997 Bob Manson - * config/udi.exp(gdb_target_udi): Make sure UDICONF is set + * config/udi.exp(gdb_start): Make sure UDICONF is set properly before starting gdb. Tue Mar 11 11:42:58 1997 Bob Manson diff --git a/gdb/testsuite/config/udi.exp b/gdb/testsuite/config/udi.exp index ac786d1cd01..3a5d778b20b 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