From: Jan Kratochvil Date: Fri, 28 Oct 2011 19:24:45 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4323feccfd124151f6c9409ea2970b1d981bc1e4;p=binutils-gdb.git gdb/testsuite/ * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for break-here-2. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 479676a9dc0..5a66e2c90a0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-10-28 Jan Kratochvil + + * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for + break-here-2. + 2011-10-28 Pedro Alves * gdb.threads/no-unwaited-for-left.c: New. diff --git a/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp b/gdb/testsuite/gdb.threads/no-unwaited-for-left.exp index ed991deca4c..4b8ae6d3cfd 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.