This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Fix thread-specific.exp
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 1 Feb 2004 20:58:34 -0500
- Subject: [ob] Fix thread-specific.exp
Shame on me. Testing on a slower target revealed that I forgot to anchor my
regexp in gdb_test_multiple.
Committed as obvious.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2004-02-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/thread-specific.exp: Add missing anchor to regexp.
Index: gdb.threads/thread-specific.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/thread-specific.exp,v
retrieving revision 1.1
diff -u -p -r1.1 thread-specific.exp
--- gdb.threads/thread-specific.exp 1 Feb 2004 18:04:37 -0000 1.1
+++ gdb.threads/thread-specific.exp 2 Feb 2004 01:56:07 -0000
@@ -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"
}