aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-10-11 20:08:01 +0000
committerKazu Hirata <kazu@codesourcery.com>2007-10-11 20:08:01 +0000
commite91528f055c828011f287968f45d3c087a17d1ab (patch)
tree6e73b25577ddfd2d0ef7a19734cdb8a4c4fa98d3 /gdb/testsuite
parent3b016d57ebe79552dbfa00642c2728bf3f5cd213 (diff)
downloadgdb-e91528f055c828011f287968f45d3c087a17d1ab.zip
gdb-e91528f055c828011f287968f45d3c087a17d1ab.tar.gz
gdb-e91528f055c828011f287968f45d3c087a17d1ab.tar.bz2
* lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
of $timeout.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 27d0631..ba9b0f4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index b08748a..5c5f9bf 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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