* 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 27d063110064bb1e61fd3a571313054d67285874..ba9b0f47a35c7e94c67b7850f2f10ae8703f850e 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 b08748af66242974d8d8a65675fd334b2b618cc8..5c5f9bff5347bb3133becd89ca01e995e8092e95 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