This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] lib/gdb.exp: Print out $loadtimeout instead of $timeout.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 11 Oct 2007 07:24:06 -0700
- Subject: [patch] lib/gdb.exp: Print out $loadtimeout instead of $timeout.
Hi,
Attached is a patch to print out $loadtimeout instated of $timeout.
Without this patch, gdb testing complains about $timeout not being
available.
Tested by running the gdb testsuite on fido. OK to apply?
Kazu Hirata
2007-10-11 Kazu Hirata <kazu@codesourcery.com>
* lib/gdb.exp (gdb_load_cmd): Printout $loadtimeout instead of
$timeout.
Index: gdb/testsuite/lib/gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.90
diff -u -d -p -r1.90 gdb.exp
--- gdb/testsuite/lib/gdb.exp 9 Oct 2007 15:08:02 -0000 1.90
+++ gdb/testsuite/lib/gdb.exp 11 Oct 2007 14:20:10 -0000
@@ -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