diff options
author | Bob Manson <manson@cygnus> | 1997-03-23 04:41:14 +0000 |
---|---|---|
committer | Bob Manson <manson@cygnus> | 1997-03-23 04:41:14 +0000 |
commit | 4d400231d9f5cb1db7c6effc5558619978792023 (patch) | |
tree | 29976c3a8761e5ba8346556b70610482a572e22a /gdb | |
parent | fb9eb1371d3c52afda3daa1401837c462404e6ed (diff) | |
download | gdb-4d400231d9f5cb1db7c6effc5558619978792023.zip gdb-4d400231d9f5cb1db7c6effc5558619978792023.tar.gz gdb-4d400231d9f5cb1db7c6effc5558619978792023.tar.bz2 |
Moved change from gdb_target_udi to gdb_start.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/testsuite/config/udi.exp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1f6a7a8..8552d1a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,6 +1,6 @@ Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com> - * 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 <manson@charmed.cygnus.com> 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 |