-# Copyright 2002, 2003, 2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright 2002-2014 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
}
# Match the prompt so the next test starts at the right place.
- gdb_test "" "" "$name - final prompt"
+ gdb_test "" ".*" "$name - final prompt"
return 1
}
-if $tracelevel {
- strace $tracelevel
-}
-
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
+if { ![readline_is_used] } {
+ unsupported "readline isn't used."
+ return -1
+}
+
set oldtimeout1 $timeout
set timeout 30