aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2021-11-21 17:21:40 +0000
committerLancelot SIX <lsix@lancelotsix.com>2022-01-07 22:43:34 +0000
commitb64f5c88176fb83ed38b06ff77aae60a1b56b4fd (patch)
treeb5145b4927f2e93e105912ccb657179961672412
parentc6336a6db001c10383376b762262ca8f953d65c2 (diff)
downloadbinutils-b64f5c88176fb83ed38b06ff77aae60a1b56b4fd.zip
binutils-b64f5c88176fb83ed38b06ff77aae60a1b56b4fd.tar.gz
binutils-b64f5c88176fb83ed38b06ff77aae60a1b56b4fd.tar.bz2
gdb/testsuite: Remove duplicates from gdb.base/watchpoints.exp
When running the testsuite, I have: Running ../gdb/testsuite/gdb.base/watchpoints.exp ... DUPLICATE: gdb.base/watchpoints.exp: watchpoint hit, first time Fix by adjusting the test names where appropriate. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/gdb.base/watchpoints.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoints.exp b/gdb/testsuite/gdb.base/watchpoints.exp
index 3ccf068..d364ede 100644
--- a/gdb/testsuite/gdb.base/watchpoints.exp
+++ b/gdb/testsuite/gdb.base/watchpoints.exp
@@ -63,9 +63,9 @@ with_test_prefix "before inferior start" {
set prev_timeout $timeout
set timeout 600
- gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival1.*Old value = -1.*New value = 0.*ival1 = count; ival2 = count;.*" "watchpoint hit, first time"
+ gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival1.*Old value = -1.*New value = 0.*ival1 = count; ival2 = count;.*" "watchpoint ival1 hit, first time"
- gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = -1.*New value = 0.*ival3 = count; ival4 = count;.*" "watchpoint hit, first time"
+ gdb_test "cont" "Continuing.*\[Ww\]atchpoint.*ival3.*Old value = -1.*New value = 0.*ival3 = count; ival4 = count;.*" "watchpoint ival3 hit, first time"
# Check that the ival3 hit count is reported correctly
gdb_test "info break" ".*watchpoint\[ \t\]+keep\[ \t\]+y\[ \t\]+ival3\r\n\[ \t]+breakpoint already hit 1 time.*" "watchpoint hit count is 1"