instead of "pref get" to avoid undefined preference error
message for default-hostname.
+2001-12-10 Ian Roxborough <irox@redhat.com>
+
+ * library/interface.tcl (set_target_name): Call "pref getd"
+ instead of "pref get" to avoid undefined preference error
+ message for default-hostname.
+
2001-12-07 Keith Seitz <keiths@redhat.com>
* library/managedwin.itb (shutdown): Don't save geometry for
}
set hostname [pref getd gdb/load/$target-hostname]
if {$hostname == ""} {
- set hostname [pref get gdb/load/default-hostname]
+ set hostname [pref getd gdb/load/default-hostname]
}
# replace "com1" with the real port name
set targ [lrep $targ "com1" $port]