aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-10-28 19:24:45 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-10-28 19:24:45 +0000
commit4323feccfd124151f6c9409ea2970b1d981bc1e4 (patch)
tree3dae1c0f8a3048bc998d610da88489689409ce6e /gdb/testsuite/gdb.threads
parent0e5bf2a8c930b383586bcf0476859e55571da0c7 (diff)
downloadgdb-4323feccfd124151f6c9409ea2970b1d981bc1e4.zip
gdb-4323feccfd124151f6c9409ea2970b1d981bc1e4.tar.gz
gdb-4323feccfd124151f6c9409ea2970b1d981bc1e4.tar.bz2
gdb/testsuite/
* gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for break-here-2.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/no-unwaited-for-left.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp b/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp
index ed991de..4b8ae6d 100644
--- a/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp
+++ b/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp
@@ -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.