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]

[ob] Fix gdb.exp typo


Something obvious I noticed while working on another project; this is
not a syntax error if gtimeout is defined, but it does not have the
desired effect either.

Tested on x86_64-linux, checked in.

-- 
Daniel Jacobowitz
CodeSourcery

2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>

	* lib/gdb.exp (gdb_expect): Fix timeout typo.

Index: lib/gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.123
diff -u -p -r1.123 gdb.exp
--- lib/gdb.exp	8 Oct 2009 22:42:53 -0000	1.123
+++ lib/gdb.exp	2 Nov 2009 17:26:34 -0000
@@ -2027,7 +2027,7 @@ proc gdb_expect { args } {
 
     if [info exists atimeout] {
 	if { ![info exists gtimeout] || $gtimeout < $atimeout } {
-	    set $gtimeout $atimeout;
+	    set gtimeout $atimeout;
 	}
     } else {
 	if ![info exists gtimeout] {


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