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