aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.threads/thread-specific.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index fc7a664..3e0def7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-01 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
+
2004-02-01 Mark Kettenis <kettenis@gnu.org>
* gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
diff --git a/gdb/testsuite/gdb.threads/thread-specific.exp b/gdb/testsuite/gdb.threads/thread-specific.exp
index c69dd98..ffcaaad 100644
--- a/gdb/testsuite/gdb.threads/thread-specific.exp
+++ b/gdb/testsuite/gdb.threads/thread-specific.exp
@@ -88,7 +88,7 @@ set threads [get_thread_list]
gdb_test_multiple "break $line thread [lindex $threads 0]" \
"breakpoint $line main thread" {
- -re "Breakpoint (\[0-9\]*) at.* file .*$srcfile, line.*" {
+ -re "Breakpoint (\[0-9\]*) at.* file .*$srcfile, line.*$gdb_prompt $" {
set main_breakpoint $expect_out(1,string)
pass "breakpoint $line main thread"
}