[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-dejagnu] default_link remote-host bug
From: |
Joseph S. Myers |
Subject: |
[Bug-dejagnu] default_link remote-host bug |
Date: |
Fri, 07 Dec 2007 01:44:54 -0000 |
In the remote-host case, default_link refers to a variable nobjects
without initializing it, leading to
ERROR: can't read "nobjects": no such variable
when running GDB's gdb.asm/asm-source.exp in a remote-host
environment. The following patch fixes this.
2007-12-07 Joseph Myers <address@hidden>
* lib/target.exp (default_link): Initialize nobjects before use.
Index: lib/target.exp
===================================================================
RCS file: /sources/dejagnu/dejagnu/lib/target.exp,v
retrieving revision 1.24
diff -u -r1.24 target.exp
--- lib/target.exp 22 May 2006 06:01:35 -0000 1.24
+++ lib/target.exp 7 Dec 2007 01:39:10 -0000
@@ -758,6 +758,7 @@
}
if {[is_remote host]} {
+ set nobjects ""
foreach x $objects {
set nobjects "$nobjects [remote_download host $x]"
}
--
Joseph S. Myers
address@hidden
- [Bug-dejagnu] default_link remote-host bug,
Joseph S. Myers <=