* gdb.threads/thread-specific.exp: Add missing anchor to regexp.
authorDaniel Jacobowitz <drow@false.org>
Mon, 2 Feb 2004 01:57:56 +0000 (01:57 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 2 Feb 2004 01:57:56 +0000 (01:57 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/thread-specific.exp

index fc7a664cb2c585d4a31f89c08f041be1eab829ec..3e0def7e7fa263cebb2fcbb6e40fd751af396fb5 100644 (file)
@@ -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
index c69dd98d8d9556bd1d82569e39fd8b9b0a37e168..ffcaaad1762fdc25bc95196311dc1472d922a5fc 100644 (file)
@@ -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"
     }