diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-04-11 13:55:32 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-04-11 13:55:32 +0000 |
commit | 20b33b9e1c6c15bda2d8eec9ebe77d8497fe7ff3 (patch) | |
tree | 9447847861789c2da0367046cfce6c39330e53f9 | |
parent | 518a0429a29db4aeca4935f36d6cb84cfc7c2472 (diff) | |
download | gdb-20b33b9e1c6c15bda2d8eec9ebe77d8497fe7ff3.tar.gz |
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/pthreads.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 766a2cf0b2d..3843177ef47 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.threads/pthreads.exp b/gdb/testsuite/gdb.threads/pthreads.exp index 1ab019bbea6..5dbe1a8348f 100644 --- a/gdb/testsuite/gdb.threads/pthreads.exp +++ b/gdb/testsuite/gdb.threads/pthreads.exp @@ -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" |