diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index fe156eaeaca..b53913c381a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-08-05 Tom de Vries + + * lib/gdb.exp (tcl_version_at_least): Fix typo. + 2019-08-04 Sandra Loosemore * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 9ca34d8b153..6d16217f3b1 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1111,7 +1111,7 @@ proc tcl_version_at_least { major minor } { if { $tcl_version_major > $major } { return 1 } elseif { $tcl_version_major == $major \ - && $tcl_version_major >= $minor } { + && $tcl_version_minor >= $minor } { return 1 } else { return 0