gdb/testsuite/

* gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
	break-here-2.
This commit is contained in:
Jan Kratochvil 2011-10-28 19:24:45 +00:00
parent 0e5bf2a8c9
commit 4323feccfd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
break-here-2.
2011-10-28 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/no-unwaited-for-left.c: New.

View File

@ -53,7 +53,7 @@ gdb_test "thread 1" "" "select main thread"
gdb_test_no_output "set scheduler-locking off" \
"disable scheduler-locking, letting new thread start"
gdb_breakpoint [gdb_get_line_number "break-here-2"]
gdb_breakpoint $srcfile:[gdb_get_line_number "break-here-2"]
gdb_continue_to_breakpoint "break-here-2" ".* break-here-2 .*"
# Let the main thread continue alone.