aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.threads/killed.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 434f02b..2c7b0f3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * killed.exp: Correct gdb_expect syntax.
+
2005-08-09 Corinna Vinschen <vinschen@redhat.com>
* lib/mi-support.exp (mi_gdb_load): Fix typo.
diff --git a/gdb/testsuite/gdb.threads/killed.exp b/gdb/testsuite/gdb.threads/killed.exp
index 1948375..f4c0c37 100644
--- a/gdb/testsuite/gdb.threads/killed.exp
+++ b/gdb/testsuite/gdb.threads/killed.exp
@@ -1,4 +1,4 @@
-# Copyright 2002, 2003 Free Software Foundation, Inc.
+# Copyright 2002, 2003, 2005 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
@@ -80,7 +80,7 @@ gdb_expect {
-re "$gdb_prompt $" {
pass "run program to completion"
}
- timeout "$gdb_prompt $" {
+ timeout {
fail "run program to completion (timeout)"
}
}