* lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
authorKazu Hirata <kazu@codesourcery.com>
Thu, 11 Oct 2007 20:08:01 +0000 (20:08 +0000)
committerKazu Hirata <kazu@codesourcery.com>
Thu, 11 Oct 2007 20:08:01 +0000 (20:08 +0000)
of $timeout.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 27d0631..ba9b0f4 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-11  Kazu Hirata  <kazu@codesourcery.com>
+
+       * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
+       of $timeout.
+
 2007-10-09  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * gdb.server/server-run.exp: Test for dynamic linker symbols.
index b08748a..5c5f9bf 100644 (file)
@@ -1990,7 +1990,7 @@ proc gdb_load_cmd { args } {
        set loadtimeout 1600
     }
     send_gdb "load $args\n"
-    verbose "Timeout is now $timeout seconds" 2
+    verbose "Timeout is now $loadtimeout seconds" 2
     gdb_expect $loadtimeout {
        -re "Loading section\[^\r\]*\r\n" {
            exp_continue