2003-04-11 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 11 Apr 2003 13:55:32 +0000 (13:55 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 11 Apr 2003 13:55:32 +0000 (13:55 +0000)
        * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
        match on sourcefile name, instead of directory name.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/pthreads.exp

index 766a2cf0b2d305c4d8d9d1631f736dbec0ef7c82..3843177ef4752947594bfde912ad8529d962f5f1 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-11  Elena Zannoni  <ezannoni@redhat.com>
+
+        * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
+        match on sourcefile name, instead of directory name.
+
 2003-04-10  Elena Zannoni  <ezannoni@redhat.com>
 
        * gdb.base/completion.exp: Use string_to_regexp to match the 
index 1ab019bbea64b89440f6e47fed594c5e206c9a85..5dbe1a8348ff3632ceab37e926828e7a7d293c4d 100644 (file)
@@ -186,7 +186,7 @@ proc test_startup {} {
     set main_id $expect_out(1,string)
 
     # Check that we can continue and create the first thread.
-    gdb_test "break thread1" "Breakpoint .* file .*$srcdir.*"
+    gdb_test "break thread1" "Breakpoint .* file .*$srcfile.*"
     gdb_test "continue" \
            "Continuing.*Breakpoint .*, thread1 \\(arg=0xfeedface\\).*at.*$srcfile.*" \
            "Continue to creation of first thread"
@@ -199,7 +199,7 @@ proc test_startup {} {
 
     # Check that we can continue and create the second thread,
     # ignoring the first thread for the moment.
-    gdb_test "break thread2" "Breakpoint .* file .*$srcdir.*"
+    gdb_test "break thread2" "Breakpoint .* file .*$srcfile.*"
     gdb_test "continue" \
            "Continuing.*Breakpoint .*, thread2 \\(arg=0xdeadbeef\\).*at.*$srcfile.*" \
            "Continue to creation of second thread"