aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/watchthreads.exp
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2010-04-22 22:29:01 +0000
committerPierre Muller <muller@sourceware.org>2010-04-22 22:29:01 +0000
commit793b0ff8d7126cf5ec1631fc07ffec5b5664b226 (patch)
treef451bb49aef074718f5bdf4ea24e8047b482009c /gdb/testsuite/gdb.threads/watchthreads.exp
parent6ffbb7abe4b5940727a78a7bb90455b94f60fffc (diff)
downloadgdb-793b0ff8d7126cf5ec1631fc07ffec5b5664b226.zip
gdb-793b0ff8d7126cf5ec1631fc07ffec5b5664b226.tar.gz
gdb-793b0ff8d7126cf5ec1631fc07ffec5b5664b226.tar.bz2
* gdb.threads/watchthreads.exp: Change to obtain consistent output.
Diffstat (limited to 'gdb/testsuite/gdb.threads/watchthreads.exp')
-rw-r--r--gdb/testsuite/gdb.threads/watchthreads.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/watchthreads.exp b/gdb/testsuite/gdb.threads/watchthreads.exp
index 6e2ce5f..733c6f3 100644
--- a/gdb/testsuite/gdb.threads/watchthreads.exp
+++ b/gdb/testsuite/gdb.threads/watchthreads.exp
@@ -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
}
}