From: Daniel Jacobowitz Date: Mon, 2 Feb 2004 01:57:56 +0000 (+0000) Subject: * gdb.threads/thread-specific.exp: Add missing anchor to regexp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44c7584953dc70ebbcb7a1798099f67ae245027e;p=binutils-gdb.git * gdb.threads/thread-specific.exp: Add missing anchor to regexp. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index fc7a664cb2c..3e0def7e7fa 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-02-01 Daniel Jacobowitz + + * gdb.threads/thread-specific.exp: Add missing anchor to regexp. + 2004-02-01 Mark Kettenis * 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 c69dd98d8d9..ffcaaad1762 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" }