* gdb.threads/watchthreads.exp: Change to obtain consistent output.
authorPierre Muller <muller@sourceware.org>
Thu, 22 Apr 2010 22:29:01 +0000 (22:29 +0000)
committerPierre Muller <muller@sourceware.org>
Thu, 22 Apr 2010 22:29:01 +0000 (22:29 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/watchthreads.exp

index e67ce13004447ce24a958f875acb8775213b902d..6bbacf029d6ec4a5cfb643df1716e2e196d39d54 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * gdb.threads/watchthreads.exp: Change to obtain consistent output.
+
 2010-04-22  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        PR stabs/11479.
index 6e2ce5f26366ad0733a9b9285de775880aa6576d..733c6f32b808456d37ce6905fa68aee8ab29a793 100644 (file)
@@ -130,10 +130,10 @@ for {set i 0} {$i < 30} {incr i} {
        # 10 is chosen so we're guaranteed to come through here.
        if { $hwwp_2_enabled && $hwwp_3_enabled } {
            if { $args_0 >= 10 && $hwwp_2_enabled } {
-               gdb_test "disable 2" ""
+               gdb_test "disable 2" "" "disable first watchpoint at 10"
                set hwwp_2_enabled 0
            } elseif { $args_1 >= 10 && $hwwp_3_enabled } {
-               gdb_test "disable 3" ""
+               gdb_test "disable 3" "" "disable first watchpoint at 10"
                set hwwp_3_enabled 0
            }
        }