From 44c7584953dc70ebbcb7a1798099f67ae245027e Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 2 Feb 2004 01:57:56 +0000 Subject: [PATCH] * gdb.threads/thread-specific.exp: Add missing anchor to regexp. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.threads/thread-specific.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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" } -- 2.30.2