* lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead

of $timeout.
This commit is contained in:
Kazu Hirata 2007-10-11 20:08:01 +00:00
parent 3b016d57eb
commit e91528f055
2 changed files with 6 additions and 1 deletions

View 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.

View 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