aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-02 01:57:56 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-02 01:57:56 +0000
commit44c7584953dc70ebbcb7a1798099f67ae245027e (patch)
treea04026a64c2ea8a7d164e93395db152f7185d712 /gdb/testsuite
parentaeb55b2034b4b3003c87bd9c9f22c7be289fdf92 (diff)
downloadgdb-44c7584953dc70ebbcb7a1798099f67ae245027e.zip
gdb-44c7584953dc70ebbcb7a1798099f67ae245027e.tar.gz
gdb-44c7584953dc70ebbcb7a1798099f67ae245027e.tar.bz2
* gdb.threads/thread-specific.exp: Add missing anchor to regexp.
Diffstat (limited to 'gdb/testsuite')
-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"
}