summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-05-28 17:57:44 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-05-28 17:57:44 +0000
commit3def43e060c89f10b775951cfec9ba963e5db481 (patch)
tree1911819b24e9792304341a213908150d2c6bd6d0
parentc91e8ecef53e652f954c3ec21e149b4617aa1f3d (diff)
downloadbinutils-gdb-3def43e060c89f10b775951cfec9ba963e5db481.tar.gz
gdb/testsuite/
* gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy excessive newline.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/sepdebug.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 07d446f38ae..286526819c5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
+ excessive newline.
+
2010-05-27 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
diff --git a/gdb/testsuite/gdb.base/sepdebug.exp b/gdb/testsuite/gdb.base/sepdebug.exp
index 7bf91c43d21..f6d41b8eba4 100644
--- a/gdb/testsuite/gdb.base/sepdebug.exp
+++ b/gdb/testsuite/gdb.base/sepdebug.exp
@@ -388,7 +388,7 @@ gdb_expect {
timeout {fail "(timeout) set silent break bp_location1"}
}
-gdb_test "info break $expect_out(1,string)\n" \
+gdb_test "info break $expect_out(1,string)" \
"\[0-9\]*\[ \t\]*breakpoint.*:$bp_location1\r\n\[ \t\]*silent.*" \
"info silent break bp_location1"