gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 28 Oct 2011 19:24:45 +0000 (19:24 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 28 Oct 2011 19:24:45 +0000 (19:24 +0000)
* gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
break-here-2.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/no-unwaited-for-left.exp

index 479676a9dc0754cba73ec118089b6be2892a6c7b..5a66e2c90a0223ef6b372f24134c2f6391d4e5e9 100644 (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.
index ed991deca4c64b85e6a05d444b5bfa0b4bc55d27..4b8ae6d3cfdc72efb14e2a474b569ad220fa5fa2 100644 (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.