This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]