OSDN Git Service

* gdb.threads/thread-specific.exp: Add missing anchor to regexp.
authordrow <drow>
Mon, 2 Feb 2004 01:57:50 +0000 (01:57 +0000)
committerdrow <drow>
Mon, 2 Feb 2004 01:57:50 +0000 (01:57 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/thread-specific.exp

index fc7a664..3e0def7 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 c69dd98..ffcaaad 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"
     }